summaryrefslogtreecommitdiffstats
path: root/tools/debugging
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2022-12-15 20:28:16 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-12-21 18:52:40 +0100
commitf0cdde28fecc0d7ff85c315b2abf206ef27c0174 (patch)
treee570a0a0993ca93c367748c70863b5c6ff4a3d3d /tools/debugging
parentperf hist: Improve srcline sort key performance (diff)
downloadlinux-f0cdde28fecc0d7ff85c315b2abf206ef27c0174.tar.xz
linux-f0cdde28fecc0d7ff85c315b2abf206ef27c0174.zip
perf hist: Improve srcfile sort key performance
Likewise, modify ->cmp() callback to compare sample address and map address. And add ->collapse() and ->sort() to check the actual srcfile string. Also add ->init() to make sure it has the srcfile. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Acked-by: Ian Rogers <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Leo Yan <leo.yan@linaro.org> Cc: Milian Wolff <milian.wolff@kdab.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20221215192817.2734573-9-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/debugging')
0 files changed, 0 insertions, 0 deletions