diff options
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r-- | tools/perf/builtin-report.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 96b5a7fee4bb..296bd219977a 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -13,7 +13,6 @@ | |||
13 | #include "util/annotate.h" | 13 | #include "util/annotate.h" |
14 | #include "util/color.h" | 14 | #include "util/color.h" |
15 | #include <linux/list.h> | 15 | #include <linux/list.h> |
16 | #include "util/cache.h" | ||
17 | #include <linux/rbtree.h> | 16 | #include <linux/rbtree.h> |
18 | #include "util/symbol.h" | 17 | #include "util/symbol.h" |
19 | #include "util/callchain.h" | 18 | #include "util/callchain.h" |
@@ -314,7 +313,7 @@ static size_t hists__fprintf_nr_sample_events(struct hists *self, | |||
314 | char buf[512]; | 313 | char buf[512]; |
315 | size_t size = sizeof(buf); | 314 | size_t size = sizeof(buf); |
316 | 315 | ||
317 | if (symbol_conf.event_group && evsel->nr_members > 1) { | 316 | if (perf_evsel__is_group_event(evsel)) { |
318 | struct perf_evsel *pos; | 317 | struct perf_evsel *pos; |
319 | 318 | ||
320 | perf_evsel__group_desc(evsel, buf, size); | 319 | perf_evsel__group_desc(evsel, buf, size); |