diff options
Diffstat (limited to 'tools/perf/util/hist.c')
-rw-r--r-- | tools/perf/util/hist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c index 95333b068109..34864c87cd3c 100644 --- a/tools/perf/util/hist.c +++ b/tools/perf/util/hist.c | |||
@@ -1757,7 +1757,7 @@ void perf_evsel__output_resort(struct perf_evsel *evsel, struct ui_progress *pro | |||
1757 | bool use_callchain; | 1757 | bool use_callchain; |
1758 | 1758 | ||
1759 | if (evsel && symbol_conf.use_callchain && !symbol_conf.show_ref_callgraph) | 1759 | if (evsel && symbol_conf.use_callchain && !symbol_conf.show_ref_callgraph) |
1760 | use_callchain = evsel->attr.sample_type & PERF_SAMPLE_CALLCHAIN; | 1760 | use_callchain = evsel__has_callchain(evsel); |
1761 | else | 1761 | else |
1762 | use_callchain = symbol_conf.use_callchain; | 1762 | use_callchain = symbol_conf.use_callchain; |
1763 | 1763 | ||