summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2026-01-10 20:13:36 -0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2026-01-13 16:21:33 -0300
commitabec464767b5d26f0612250d511c18f420826ca1 (patch)
tree59d61b3fa533d56600bb4e5de02dc2a16247cafe /tools/perf/scripts/python/bin
parenta2297e74a07d21eb498d8549ae6fddc35cf26ec6 (diff)
downloadlinux-abec464767b5d26f0612250d511c18f420826ca1.tar.gz
linux-abec464767b5d26f0612250d511c18f420826ca1.zip
perf callchain: Fix srcline printing with inlines
sample__fprintf_callchain() was using map__fprintf_srcline() which won't report inline line numbers. Fix by using the srcline from the callchain and falling back to the map variant. Fixes: 25da4fab5f66e659 ("perf evsel: Move fprintf methods to separate source file") Reviewed-by: James Clark <james.clark@linaro.org> Signed-off-by: Ian Rogers <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Howard Chu <howardchu95@gmail.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephen Brennan <stephen.s.brennan@oracle.com> Cc: Tony Jones <tonyj@suse.de> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions