diff options
author | Steven Rostedt (Red Hat) <srostedt@redhat.com> | 2013-03-08 04:48:09 +0100 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-03-15 05:35:53 +0100 |
commit | 55034cd6e648155393b0d665eef76b38d49ad6bf (patch) | |
tree | 3d51bc6a1f8c7bdf7f728113b3853f4c20441be9 /arch/s390/kernel/perf_event.c | |
parent | tracing: Move the tracing selftest code into its own function (diff) | |
download | linux-55034cd6e648155393b0d665eef76b38d49ad6bf.tar.xz linux-55034cd6e648155393b0d665eef76b38d49ad6bf.zip |
tracing: Add alloc_snapshot kernel command line parameter
If debugging the kernel, and the developer wants to use
tracing_snapshot() in places where tracing_snapshot_alloc() may
be difficult (or more likely, the developer is lazy and doesn't
want to bother with tracing_snapshot_alloc() at all), then adding
alloc_snapshot
to the kernel command line parameter will tell ftrace to allocate
the snapshot buffer (if configured) when it allocates the main
tracing buffer.
I also noticed that ring_buffer_expanded and tracing_selftest_disabled
had inconsistent use of boolean "true" and "false" with "0" and "1".
I cleaned that up too.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'arch/s390/kernel/perf_event.c')
0 files changed, 0 insertions, 0 deletions