diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-04-15 16:34:26 -0400 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-04-15 16:34:26 -0400 |
commit | e1db6338d6fa0d409e45cf20ab5aeaca704f68e7 (patch) | |
tree | c1b8d53d8f5ff8c4242aeff397bb5f1eb333d795 /tools/gpio/gpio-hammer.c | |
parent | 22db095d57b51ff71aaa8ddba515180399f54334 (diff) |
ftrace: Reuse the output of the function tracer for func_repeats
The func_repeats event shows the output of the function tracer followed by
a count of the number of repeats the previous function had made, as well
as the timestamp of the last function that was repeated.
The printing of the function should be the same as is for the function it
is displaying. Reuse the code in trace_fn_trace() by making a helper
function print_fn_trace() and use it for trace_func_repeats_print().
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/gpio/gpio-hammer.c')
0 files changed, 0 insertions, 0 deletions