diff options
| author | Steven Rostedt (VMware) <[email protected]> | 2020-03-04 04:18:52 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-03-04 13:34:10 +0000 |
| commit | 401d61cbd4d4c6b44b2a895ab4073c7f214c096b (patch) | |
| tree | 70921e6f31688fa1025952a7f1c164b7f706787c /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | libperf: Add counting example (diff) | |
| download | kernel-401d61cbd4d4c6b44b2a895ab4073c7f214c096b.tar.gz kernel-401d61cbd4d4c6b44b2a895ab4073c7f214c096b.zip | |
tools lib traceevent: Remove extra '\n' in print_event_time()
If the precision of print_event_time() is zero or greater than the
timestamp, it uses a different format. But that format had an extra new
line at the end, and caused the output to not look right:
cpus=2
sleep-3946 [001]111264306005
: function: inotify_inode_queue_event
sleep-3946 [001]111264307158
: function: __fsnotify_parent
sleep-3946 [001]111264307637
: function: inotify_dentry_parent_queue_event
sleep-3946 [001]111264307989
: function: fsnotify
sleep-3946 [001]111264308401
: function: audit_syscall_exit
Fixes: 38847db9740a ("libtraceevent, perf tools: Changes in tep_print_event_* APIs")
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Cc: Jiri Olsa <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
