]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tracing: have latency tracers set the latency format
authorSteven Rostedt <srostedt@redhat.com>
Thu, 5 Mar 2009 03:15:30 +0000 (22:15 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Thu, 5 Mar 2009 03:15:30 +0000 (22:15 -0500)
commite9d25fe6eaa2c720bb3ea661b660e58d54fa38bf
tree8121a9fc4021e86499c404e0b1012a36e8d0b00e
parent27d48be84477d2f0a2e2ac3738a3971dece631d5
tracing: have latency tracers set the latency format

The latency tracers (irqsoff, preemptoff, preemptirqsoff, and wakeup)
are pretty useless with the default output format. This patch makes them
automatically enable the latency format when they are selected. They
also record the state of the latency option, and if it was not enabled
when selected, they disable it on reset.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
kernel/trace/trace_irqsoff.c
kernel/trace/trace_sched_wakeup.c