Commit 36a367b
committed
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 <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/20241017113105.1edfa943@gandalf.local.home
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>1 parent 8b0cb3a commit 36a367b
3 files changed
Lines changed: 21 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3686 | 3686 | | |
3687 | 3687 | | |
3688 | 3688 | | |
3689 | | - | |
| 3689 | + | |
| 3690 | + | |
3690 | 3691 | | |
3691 | 3692 | | |
3692 | 3693 | | |
| |||
3706 | 3707 | | |
3707 | 3708 | | |
3708 | 3709 | | |
3709 | | - | |
| 3710 | + | |
3710 | 3711 | | |
3711 | 3712 | | |
3712 | 3713 | | |
| |||
3750 | 3751 | | |
3751 | 3752 | | |
3752 | 3753 | | |
3753 | | - | |
| 3754 | + | |
| 3755 | + | |
| 3756 | + | |
| 3757 | + | |
| 3758 | + | |
3754 | 3759 | | |
3755 | 3760 | | |
3756 | 3761 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8548 | 8548 | | |
8549 | 8549 | | |
8550 | 8550 | | |
8551 | | - | |
8552 | | - | |
| 8551 | + | |
| 8552 | + | |
| 8553 | + | |
| 8554 | + | |
8553 | 8555 | | |
8554 | 8556 | | |
8555 | 8557 | | |
8556 | | - | |
| 8558 | + | |
| 8559 | + | |
| 8560 | + | |
| 8561 | + | |
8557 | 8562 | | |
8558 | 8563 | | |
8559 | | - | |
| 8564 | + | |
| 8565 | + | |
| 8566 | + | |
8560 | 8567 | | |
8561 | 8568 | | |
8562 | 8569 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
| 778 | + | |
| 779 | + | |
778 | 780 | | |
779 | 781 | | |
780 | 782 | | |
| |||
0 commit comments