diff options
Diffstat (limited to 'tools/perf/builtin-kmem.c')
-rw-r--r-- | tools/perf/builtin-kmem.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/builtin-kmem.c b/tools/perf/builtin-kmem.c index 37a849906afe..237155fa756b 100644 --- a/tools/perf/builtin-kmem.c +++ b/tools/perf/builtin-kmem.c | |||
@@ -372,8 +372,7 @@ static int read_events(void) | |||
372 | if (session == NULL) | 372 | if (session == NULL) |
373 | return -ENOMEM; | 373 | return -ENOMEM; |
374 | 374 | ||
375 | err = perf_session__process_events(session, &event_ops, 0, | 375 | err = perf_session__process_events(session, &event_ops); |
376 | &event__cwdlen, &event__cwd); | ||
377 | perf_session__delete(session); | 376 | perf_session__delete(session); |
378 | return err; | 377 | return err; |
379 | } | 378 | } |