diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-12-27 18:37:05 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-28 03:03:35 -0500 |
commit | 55aa640f54280da25046acd2075842d464f451e6 (patch) | |
tree | ab9f390de0a7315bbcac3dc7105673d3eeb8c521 /tools/perf/builtin-kmem.c | |
parent | f7d87444e6ee6f4a19634e5412664c1c529a2370 (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/builtin-kmem.c')
-rw-r--r-- | tools/perf/builtin-kmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-kmem.c b/tools/perf/builtin-kmem.c index 73b065022e27..4c06828fe39d 100644 --- a/tools/perf/builtin-kmem.c +++ b/tools/perf/builtin-kmem.c | |||
@@ -343,8 +343,8 @@ static int process_sample_event(event_t *event, struct perf_session *session) | |||
343 | } | 343 | } |
344 | 344 | ||
345 | static struct perf_event_ops event_ops = { | 345 | static struct perf_event_ops event_ops = { |
346 | .process_sample_event = process_sample_event, | 346 | .sample = process_sample_event, |
347 | .process_comm_event = event__process_comm, | 347 | .comm = event__process_comm, |
348 | }; | 348 | }; |
349 | 349 | ||
350 | static double fragmentation(unsigned long n_req, unsigned long n_alloc) | 350 | static double fragmentation(unsigned long n_req, unsigned long n_alloc) |