perf report: Fix cut'n'paste error recently introduced
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 16 Dec 2009 14:27:11 +0000 (12:27 -0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Dec 2009 15:51:51 +0000 (16:51 +0100)
Introduced in:

d599db3fc5dd4f1e8432fdbc6d899584b25f4dff
"perf report: Generalize perf_session__fprintf_hists()"

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: <1260973631-28035-3-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-report.c

index c4f3a08f7c4831e3062c88f8f93c350eb47de220..cf1d370f51cba7882aecabdbfd51280cbcd22375 100644 (file)
@@ -186,7 +186,7 @@ static int sample_type_check(struct perf_session *session)
 static struct perf_event_ops event_ops = {
        .process_sample_event   = process_sample_event,
        .process_mmap_event     = event__process_mmap,
-       .process_comm_event     = event__process_mmap,
+       .process_comm_event     = event__process_comm,
        .process_exit_event     = event__process_task,
        .process_fork_event     = event__process_task,
        .process_lost_event     = event__process_lost,