diff options
author | Steven Rostedt (Red Hat) <srostedt@redhat.com> | 2013-03-05 07:30:24 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-03-15 00:34:57 -0400 |
commit | 22cffc2bb4a50d8c56f03c56f9f19dea85b78e30 (patch) | |
tree | 39f6127ad367843e1a9bc36d8f2efbe00b3072fe /kernel/trace/trace_sched_switch.c | |
parent | 873c642f5964b260480850040dec21e42d0ae4e4 (diff) |
tracing: Enable snapshot when any latency tracer is enabled
The snapshot utility is extremely useful, and does not add any more
overhead in memory when another latency tracer is enabled. They use
the snapshot underneath. There's no reason to hide the snapshot file
when a latency tracer has been enabled in the kernel.
If any of the latency tracers (irq, preempt or wakeup) is enabled
then also select the snapshot facility.
Note, snapshot can be enabled without the latency tracers enabled.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_sched_switch.c')
0 files changed, 0 insertions, 0 deletions