aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2024-09-09 16:29:44 -0300
committerArnaldo Carvalho de Melo <[email protected]>2024-09-09 19:23:03 -0300
commit2f2e439ba56f45b9d8aff300b39fa0bfa49ec2d8 (patch)
treec7923c6cebbfef6332021999fe7c51896038a840 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentc90a88d33a23a8b3c58ee0e1d18d7392244b9b03 (diff)
perf trace: Mark which syscall arguments go from user space to kernel space
We need to know where to collect it in the BPF augmenters, if in the sys_enter hook or in the sys_exit hook. Start with the SCA_FILENAME one, that is just from user to kernel space. The alternative, better, but takes a bit more time than I have now, is to use the __user information that is already in the syscall args and encoded in BTF via a tag, do it later. Cc: Adrian Hunter <[email protected]> Cc: Howard Chu <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Namhyung Kim <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions