summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-03-19 08:07:39 +0300
committerNamhyung Kim <namhyung@kernel.org>2025-03-21 08:58:27 +0300
commitccc60dce3e2d0dfcee0b3666d9e2d95ef001ea1f (patch)
treed2fc4e57ab7eac0b073954b552e59e3cda0d899e /tools/perf/scripts/python/syscall-counts-by-pid.py
parent95b802ca9def90a2147f2d9b884123a16ed7a507 (diff)
downloadlinux-ccc60dce3e2d0dfcee0b3666d9e2d95ef001ea1f.tar.xz
perf trace: Make syscall table stable
Namhyung fixed the syscall table being reallocated and moving by reloading the system call pointer after a move: https://lore.kernel.org/lkml/Z9YHCzINiu4uBQ8B@google.com/ This could be brittle so this patch changes the syscall table to be an array of pointers of "struct syscall" that don't move. Remove unnecessary copies and searches with this change. Signed-off-by: Ian Rogers <irogers@google.com> Reviewed-by: Namhyung Kim <namhyung@kernel.org> Acked-by: Arnaldo Carvalho de Melo <acme@kernel.org> Link: https://lore.kernel.org/r/20250319050741.269828-13-irogers@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions