diff options
Diffstat (limited to 'tools/perf/builtin-trace.c')
-rw-r--r-- | tools/perf/builtin-trace.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index b6f0725068bd..6016112e801a 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c | |||
@@ -994,6 +994,9 @@ again: | |||
994 | 994 | ||
995 | handler = evsel->handler.func; | 995 | handler = evsel->handler.func; |
996 | handler(trace, evsel, &sample); | 996 | handler(trace, evsel, &sample); |
997 | |||
998 | if (done) | ||
999 | goto out_unmap_evlist; | ||
997 | } | 1000 | } |
998 | } | 1001 | } |
999 | 1002 | ||