diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index a74059f0c45f9d0e93c0e64dda524b0992a36685..c8f21137dfd8ad7f80472acf020eab9e3f492bb6 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c @@ -928,7 +928,7 @@ int cmd_report(int argc, const char **argv, const char *prefix __maybe_unused) * so don't allocate extra space that won't be used in the stdio * implementation. */ - if (use_browser == 1 && sort__has_sym) { + if (ui__has_annotation()) { symbol_conf.priv_size = sizeof(struct annotation); machines__set_symbol_filter(&session->machines, symbol__annotate_init);