diff options
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r-- | tools/perf/builtin-report.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index fd2503a5f876..9cc768ecacad 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -319,6 +319,10 @@ static int perf_evlist__tty_browse_hists(struct perf_evlist *evlist, | |||
319 | struct hists *hists = &pos->hists; | 319 | struct hists *hists = &pos->hists; |
320 | const char *evname = perf_evsel__name(pos); | 320 | const char *evname = perf_evsel__name(pos); |
321 | 321 | ||
322 | if (symbol_conf.event_group && | ||
323 | !perf_evsel__is_group_leader(pos)) | ||
324 | continue; | ||
325 | |||
322 | hists__fprintf_nr_sample_events(hists, evname, stdout); | 326 | hists__fprintf_nr_sample_events(hists, evname, stdout); |
323 | hists__fprintf(hists, true, 0, 0, stdout); | 327 | hists__fprintf(hists, true, 0, 0, stdout); |
324 | fprintf(stdout, "\n\n"); | 328 | fprintf(stdout, "\n\n"); |