summaryrefslogtreecommitdiff
path: root/tools/perf/util/event.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-05-14 10:36:42 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-05-14 10:36:42 -0300
commitc8446b9bdabcb0caa61bb341bd73c58f7104b503 (patch)
treeb2530bfbbd893017e9515bd48f2ffa8845860759 /tools/perf/util/event.h
parent5d2be7cb198a0a6bc6088d3806fb7261b184ad89 (diff)
downloadlinux-stable-c8446b9bdabcb0caa61bb341bd73c58f7104b503.tar.gz
linux-stable-c8446b9bdabcb0caa61bb341bd73c58f7104b503.tar.bz2
linux-stable-c8446b9bdabcb0caa61bb341bd73c58f7104b503.zip
perf hist: Make event__totals per hists
This is one more thing that started global but are more useful per hist or per session. Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/event.h')
-rw-r--r--tools/perf/util/event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h
index 48c2cc9dae4f..8577085db067 100644
--- a/tools/perf/util/event.h
+++ b/tools/perf/util/event.h
@@ -160,4 +160,6 @@ int event__preprocess_sample(const event_t *self, struct perf_session *session,
struct addr_location *al, symbol_filter_t filter);
int event__parse_sample(event_t *event, u64 type, struct sample_data *data);
+extern const char *event__name[];
+
#endif /* __PERF_RECORD_H */