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)
commitf6bdafef2ab911f03321fa83d8da1df99878009e
treea948428dcda80abccbe6071036662b7cf07db268
parent28ac909b49a155856c957d080f8a796b3c1d1f3e
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