diff options
| author | Steven Rostedt (VMware) <[email protected]> | 2019-09-19 20:51:19 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-09-25 12:51:42 +0000 |
| commit | 5c8da72dc21eff32deb00638e547e2c247ebbfb0 (patch) | |
| tree | f7e93ef9eb171a6a0b5606443e1acb584735cfe1 /tools/lib/traceevent/plugins/plugin_function.c | |
| parent | perf list: Allow plurals for metric, metricgroup (diff) | |
| download | kernel-5c8da72dc21eff32deb00638e547e2c247ebbfb0.tar.gz kernel-5c8da72dc21eff32deb00638e547e2c247ebbfb0.zip | |
libtraceevent: Round up in tep_print_event() time precision
When testing the output of the old trace-cmd compared to the one that
uses the updated tep_print_event() logic, it was different in that the
time stamp precision in the old format would round up to the nearest
precision, where as the new logic truncates. Bring back the old method
of rounding up.
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Tzvetomir Stoyanov <[email protected]>
Cc: linux trace devel <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/traceevent/plugins/plugin_function.c')
0 files changed, 0 insertions, 0 deletions
