Commit ae0e0257 authored by Paul Chaignon's avatar Paul Chaignon

bashreadline: linter cleanup

parent 7b911b51
......@@ -56,7 +56,8 @@ print("%-9s %-6s %s" % ("TIME", "PID", "COMMAND"))
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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment