]> rtime.felk.cvut.cz Git - linux-imx.git/commit
tracing: Enable snapshot when any latency tracer is enabled
authorSteven Rostedt (Red Hat) <srostedt@redhat.com>
Tue, 5 Mar 2013 12:30:24 +0000 (07:30 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Mar 2013 04:34:57 +0000 (00:34 -0400)
commit22cffc2bb4a50d8c56f03c56f9f19dea85b78e30
tree39f6127ad367843e1a9bc36d8f2efbe00b3072fe
parent873c642f5964b260480850040dec21e42d0ae4e4
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>
kernel/trace/Kconfig