perf tools: Add latency format to trace output
authorSteven Rostedt <srostedt@redhat.com>
Wed, 14 Oct 2009 19:43:42 +0000 (15:43 -0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 15 Oct 2009 08:42:39 +0000 (10:42 +0200)
commitcda48461c7fb8431a99b7960480f5f42cc1a5324
tree89afa42fb7136ac1086d1736529f59cfe4ac1ce3
parent0d1da915c76838c9ee7af7cdefbcb2bae9424161
perf tools: Add latency format to trace output

Add the irqs disabled, preemption count, need resched, and other
info that is shown in the latency format of ftrace.

 # perf trace -l
    perf-16457   2..s2. 53636.260344: kmem_cache_free: call_site=ffffffff811198f
    perf-16457   2..s2. 53636.264330: kmem_cache_free: call_site=ffffffff811198f
    perf-16457   2d.s4. 53636.300006: kmem_cache_free: call_site=ffffffff810d889

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <20091014194400.076588953@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-trace.c
tools/perf/util/trace-event-parse.c
tools/perf/util/trace-event.h