aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTiezhu Yang <[email protected]>2023-05-30 18:09:59 +0800
committerArnaldo Carvalho de Melo <[email protected]>2023-06-05 11:37:05 -0300
commitd6e1cc6b7220073d6d5d2edd79edf2d36da046bf (patch)
treec87706cd230e3b17d88a49b66f2f3aebaa34aee4 /tools/perf/scripts/python/stackcollapse.py
parent0d0db47634611bf25bb933fec801faa91702a3ab (diff)
perf arm64: Handle __NR3264_ prefixed syscall number
After commit 9854e7ad35fe ("perf arm64: Simplify mksyscalltbl"), in the generated syscall table file syscalls.c, there exist some __NR3264_ prefixed syscall numbers such as [__NR3264_ftruncate], it looks like not so good, just do some small filter operations to handle __NR3264_ prefixed syscall number as a digital number. Without this patch: [__NR3264_ftruncate] = "ftruncate", With this patch: [46] = "ftruncate", Suggested-by: Alexander Kapshuk <[email protected]> Reviewed-by: Huacai Chen <[email protected]> Reviewed-by: Leo Yan <[email protected]> Signed-off-by: Tiezhu Yang <[email protected]> Acked-by: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: [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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions