diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 8c767c6bca91b7490cb1564da230c7c9021422e6..2400e009f149b9017ee1d0ad7345092f3bcec46f 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c @@ -162,7 +162,7 @@ static int perf_evsel__add_hist_entry(struct perf_evsel *evsel, * so we don't allocated the extra space needed because the stdio * code will not use it. */ - if (al->sym != NULL && use_browser > 0) { + if (he->ms.sym != NULL && use_browser > 0) { struct annotation *notes = symbol__annotation(he->ms.sym); assert(evsel != NULL);