- if (symbol_conf.use_callchain) {The `--branch-history` part of this error message is now stale, no?
+ if (symbol_conf.use_callchain &&
+ !symbol_conf.show_branchflag_count) {
ui__error("Selected -g or --branch-history but no "
"callchain data. Did\n"
"you call 'perf record' without -g?\n");
@@ -397,7 +398,8 @@ static int perf_evlist__tty_browse_hists(structNot sure about the coding style here, but shouldn't this be a boolean or
perf_evlist *evlist,
hists__fprintf_nr_sample_events(hists, rep, evname, stdout);
hists__fprintf(hists, !quiet, 0, 0, rep->min_percent, stdout,
- symbol_conf.use_callchain);
+ symbol_conf.use_callchain |
+ symbol_conf.show_branchflag_count);
fprintf(stdout, "\n\n");
}
operator here '||' - semantically? Functionality wise it will be the same, I
guess?