diff options
Diffstat (limited to 'tools/perf/builtin-trace.c')
-rw-r--r-- | tools/perf/builtin-trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index e94f34631585..1831434aa938 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c | |||
@@ -104,8 +104,8 @@ static int process_sample_event(event_t *event, struct perf_session *session) | |||
104 | } | 104 | } |
105 | 105 | ||
106 | static struct perf_event_ops event_ops = { | 106 | static struct perf_event_ops event_ops = { |
107 | .process_sample_event = process_sample_event, | 107 | .sample = process_sample_event, |
108 | .process_comm_event = event__process_comm, | 108 | .comm = event__process_comm, |
109 | }; | 109 | }; |
110 | 110 | ||
111 | static int __cmd_trace(struct perf_session *session) | 111 | static int __cmd_trace(struct perf_session *session) |