]> git.baikalelectronics.ru Git - kernel.git/commit
perf_counter: Add tracepoint support to perf list, perf stat
authorJason Baron <jbaron@redhat.com>
Tue, 21 Jul 2009 16:20:22 +0000 (12:20 -0400)
committerPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 22 Jul 2009 16:05:57 +0000 (18:05 +0200)
commit07bd4d85a30221a6b948e998c1f401b8aaef939c
treea948428dcda80abccbe6071036662b7cf07db268
parentf4a2916e1e6f74dc97a7e62c6fc00d7936528759
perf_counter: Add tracepoint support to perf list, perf stat

Add support to 'perf list' and 'perf stat' for kernel tracepoints. The
implementation creates a 'for_each_subsystem' and 'for_each_event' for
easy iteration over the tracepoints.

Signed-off-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <426129bf9fcc8ee63bb094cf736e7316a7dcd77a.1248190728.git.jbaron@redhat.com>
tools/perf/util/parse-events.c
tools/perf/util/util.h