aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/session.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-12-27 18:37:05 -0500
committerIngo Molnar <mingo@elte.hu>2009-12-28 03:03:35 -0500
commit55aa640f54280da25046acd2075842d464f451e6 (patch)
treeab9f390de0a7315bbcac3dc7105673d3eeb8c521 /tools/perf/util/session.h
parentf7d87444e6ee6f4a19634e5412664c1c529a2370 (diff)
perf session: Remove redundant prefix & suffix from perf_event_ops
Since now all that we have are perf event handlers, leave just the name of the event. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <1261957026-15580-9-git-send-email-acme@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/session.h')
-rw-r--r--tools/perf/util/session.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h
index 2ff77fea06ef..77c5ee2993c2 100644
--- a/tools/perf/util/session.h
+++ b/tools/perf/util/session.h
@@ -32,15 +32,15 @@ struct perf_session {
32typedef int (*event_op)(event_t *self, struct perf_session *session); 32typedef int (*event_op)(event_t *self, struct perf_session *session);
33 33
34struct perf_event_ops { 34struct perf_event_ops {
35 event_op process_sample_event; 35 event_op sample,
36 event_op process_mmap_event; 36 mmap,
37 event_op process_comm_event; 37 comm,
38 event_op process_fork_event; 38 fork,
39 event_op process_exit_event; 39 exit,
40 event_op process_lost_event; 40 lost,
41 event_op process_read_event; 41 read,
42 event_op process_throttle_event; 42 throttle,
43 event_op process_unthrottle_event; 43 unthrottle;
44}; 44};
45 45
46struct perf_session *perf_session__new(const char *filename, int mode, bool force); 46struct perf_session *perf_session__new(const char *filename, int mode, bool force);