diff options
author | Steven Rostedt <[email protected]> | 2024-10-17 11:31:05 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2024-10-30 19:20:53 -0400 |
commit | 36a367b8912a3aac023d9e35c815f7b1e609f4a3 (patch) | |
tree | 300a357a0e9afc54dde72c81954695a1000eeb3d /kernel/trace/trace_functions_graph.c | |
parent | 8b0cb3a4c5e85dda8957ba6a4c8c081a9aec6e80 (diff) |
ftrace: Show timings of how long nop patching took
Since the beginning of ftrace, the code that did the patching had its
timings saved on how long it took to complete. But this information was
never exposed. It was used for debugging and exposing it was always
something that was on the TODO list. Now it's time to expose it. There's
even a file that is where it should go!
Also include how long patching modules took as a separate value.
# cat /sys/kernel/tracing/dyn_ftrace_total_info
57680 pages:231 groups: 9
ftrace boot update time = 14024666 (ns)
ftrace module total update time = 126070 (ns)
Cc: Masami Hiramatsu <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Mike Rapoport <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions