diff options
author | Namhyung Kim <namhyung@kernel.org> | 2025-02-05 12:54:41 -0800 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-02-12 19:44:15 -0800 |
commit | ef2da619b132c6f749c99f8fea15b5fe563c8cf9 (patch) | |
tree | 9bad6c86bbee8098ad0cc99505300fda4a6e466f /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | c7f821b8768df6f889dd8993db94925c6636a691 (diff) |
perf trace: Convert syscall_stats to hashmap
It was using a RBtree-based int-list as a hash and a custom resort
logic for that. As we have hashmap, let's convert to it and add a
custom sort function for the hashmap entries using an array. It
should be faster and more light-weighted. It's also to prepare
supporting system-wide syscall stats.
No functional changes intended.
Reviewed-by: Howard Chu <howardchu95@gmail.com>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Link: https://lore.kernel.org/r/20250205205443.1986408-3-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions