Skip to content

Commit

Permalink
bashreadline: linter cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pchaigno committed Oct 7, 2017
1 parent 7b911b5 commit ae0e025
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/bashreadline.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ class Data(ct.Structure):

def print_event(cpu, data, size):
event = ct.cast(data, ct.POINTER(Data)).contents
print("%-9s %-6d %s" % (strftime("%H:%M:%S"), event.pid, event.str.decode()))
print("%-9s %-6d %s" % (strftime("%H:%M:%S"), event.pid,
event.str.decode()))

b["events"].open_perf_buffer(print_event)
while 1:
Expand Down

0 comments on commit ae0e025

Please sign in to comment.