aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2024-09-09 19:29:44 +0000
committerArnaldo Carvalho de Melo <[email protected]>2024-09-09 22:23:03 +0000
commit2f2e439ba56f45b9d8aff300b39fa0bfa49ec2d8 (patch)
treec7923c6cebbfef6332021999fe7c51896038a840 /tools/perf/util/annotate.c
parentperf trace: Use a common encoding for augmented arguments, with size + error ... (diff)
downloadkernel-2f2e439ba56f45b9d8aff300b39fa0bfa49ec2d8.tar.gz
kernel-2f2e439ba56f45b9d8aff300b39fa0bfa49ec2d8.zip
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/util/annotate.c')
0 files changed, 0 insertions, 0 deletions