X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=tools%2Fperf%2Futil%2Fsession.c;h=c11d89e0ee55a317b090693279afeeed14cb823c;hb=4f138a9e08a9635ab2b243c1970308766fd14918;hp=7f7d3a1989fd5cefcf0d546638f8d57639764c49;hpb=e470daeaa36ad8058cb32616afb8c8d7cfba8456;p=mirror_ubuntu-jammy-kernel.git diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index 7f7d3a1989fd..c11d89e0ee55 100644 --- a/tools/perf/util/session.c +++ b/tools/perf/util/session.c @@ -1059,7 +1059,7 @@ static void callchain__printf(struct evsel *evsel, unsigned int i; struct ip_callchain *callchain = sample->callchain; - if (perf_evsel__has_branch_callstack(evsel)) + if (evsel__has_branch_callstack(evsel)) callchain__lbr_callstack_printf(sample); printf("... FP chain: nr:%" PRIu64 "\n", callchain->nr); @@ -1244,7 +1244,7 @@ static void dump_sample(struct evsel *evsel, union perf_event *event, callchain__printf(evsel, sample); if (evsel__has_br_stack(evsel)) - branch_stack__printf(sample, perf_evsel__has_branch_callstack(evsel)); + branch_stack__printf(sample, evsel__has_branch_callstack(evsel)); if (sample_type & PERF_SAMPLE_REGS_USER) regs_user__printf(sample);