diff options
author | 2022-12-15 11:28:17 -0800 | |
---|---|---|
committer | 2022-12-21 14:52:40 -0300 | |
commit | ad9ef9eb64a2230c12fa5c6c98aed176428012e8 (patch) | |
tree | e296602ac4bcef4b9c042daebecd2999cbb531d2 /lib/pm-notifier-error-inject.c | |
parent | perf hist: Improve srcfile sort key performance (diff) | |
download | linux-rng-ad9ef9eb64a2230c12fa5c6c98aed176428012e8.tar.xz linux-rng-ad9ef9eb64a2230c12fa5c6c98aed176428012e8.zip |
perf hist: Improve srcline_{from,to} 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-10-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions