diff options
| author | Namhyung Kim <[email protected]> | 2023-03-22 19:50:05 -0700 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-04-04 09:39:55 -0300 |
| commit | 6094c7744bb0563e833e81d8df8513f9a4e7a257 (patch) | |
| tree | 687036ebe4f5dcbfe73bce3fbcbfafee431620a7 /tools/perf/scripts/python/flamegraph.py | |
| parent | 30df88a80f32ccca5c5cdcf2710d1fb2de5e314d (diff) | |
perf hist: Improve srcfile sort key performance (really)
The earlier commit f0cdde28fecc0d7f ("perf hist: Improve srcfile sort
key performance") updated the srcfile logic but missed to change the
->cmp() callback which is called for every sample.
It should use the same logic like in the srcline to speed up the
processing because it'd return the same information repeatedly for the
same address. The real processing will be done in
sort__srcfile_collapse().
Fixes: f0cdde28fecc0d7f ("perf hist: Improve srcfile sort key performance")
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions