diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-03-23 15:18:03 +0100 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-04-06 14:56:54 +0200 |
commit | 4ee7c60de83ac01fa4c33c55937357601631e8ad (patch) | |
tree | 782bae7199ba64345a70e7094f270dea434331ee /kernel/printk/printk.c | |
parent | tracing: Add rcu dereference annotation for test func that touches filter->prog (diff) | |
download | linux-4ee7c60de83ac01fa4c33c55937357601631e8ad.tar.xz linux-4ee7c60de83ac01fa4c33c55937357601631e8ad.zip |
init, tracing: Add initcall trace events
Being able to trace the start and stop of initcalls is useful to see where
the timings are an issue. There is already an "initcall_debug" parameter,
but that can cause a large overhead itself, as the printing of the
information may take longer than the initcall functions.
Adding in a start and finish trace event around the initcall functions, as
well as a trace event that records the level of the initcalls, one can get a
much finer measurement of the times and interactions of the initcalls
themselves, as trace events are much lighter than printk()s.
Suggested-by: Abderrahmane Benbachir <abderrahmane.benbachir@polymtl.ca>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/printk/printk.c')
0 files changed, 0 insertions, 0 deletions