Skip to content
Commit 380af29b authored by Steven Rostedt (Google)'s avatar Steven Rostedt (Google)
Browse files

tracing: Add snapshot at end of kernel boot up



Add ftrace_boot_snapshot kernel parameter that will take a snapshot at the
end of boot up just before switching over to user space (it happens during
the kernel freeing of init memory).

This is useful when there's interesting data that can be collected from
kernel start up, but gets overridden by user space start up code. With
this option, the ring buffer content from the boot up traces gets saved in
the snapshot at the end of boot up. This trace can be read from:

 /sys/kernel/tracing/snapshot

Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
parent b3bc8547
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment