diff options
Diffstat (limited to 'tools/perf/util/hist.c')
| -rw-r--r-- | tools/perf/util/hist.c | 7 | 
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c index cf0186a088c1..9453b2e27015 100644 --- a/tools/perf/util/hist.c +++ b/tools/perf/util/hist.c @@ -749,12 +749,9 @@ iter_prepare_branch_entry(struct hist_entry_iter *iter, struct addr_location *al  }  static int -iter_add_single_branch_entry(struct hist_entry_iter *iter, +iter_add_single_branch_entry(struct hist_entry_iter *iter __maybe_unused,  			     struct addr_location *al __maybe_unused)  { -	/* to avoid calling callback function */ -	iter->he = NULL; -  	return 0;  } @@ -1762,6 +1759,8 @@ void perf_evsel__output_resort(struct perf_evsel *evsel, struct ui_progress *pro  	else  		use_callchain = symbol_conf.use_callchain; +	use_callchain |= symbol_conf.show_branchflag_count; +  	output_resort(evsel__hists(evsel), prog, use_callchain, NULL);  }  | 
