Skip to content

Commit

Permalink
trace: linter cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pchaigno committed Oct 7, 2017
1 parent c8b4f67 commit 897c686
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,8 @@ def print_event(self, bpf, cpu, data, size):
time = strftime("%H:%M:%S") if Probe.use_localtime else \
Probe._time_off_str(event.timestamp_ns)
print("%-8s %-6d %-6d %-12s %-16s %s" %
(time[:8], event.tgid, event.pid, event.comm.decode(),
self._display_function(), msg))
(time[:8], event.tgid, event.pid,
event.comm.decode(), self._display_function(), msg))

if self.kernel_stack:
self.print_stack(bpf, event.kernel_stack_id, -1)
Expand Down

0 comments on commit 897c686

Please sign in to comment.