]> asedeno.scripts.mit.edu Git - linux.git/commit
perf augmented_raw_syscalls: Introduce helper to get the scratch space
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 23 Aug 2019 18:45:54 +0000 (15:45 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 26 Aug 2019 14:58:29 +0000 (11:58 -0300)
commitc265784de7adff9e07934b712204556fb0b3ba43
treeeb7dbca55b611dea58a7b418a64bd67e95010e04
parent01128065ca5112123e6992dc0522484349c6ced7
perf augmented_raw_syscalls: Introduce helper to get the scratch space

We need more than the BPF stack can give us to format the
raw_syscalls:sys_enter augmented tracepoint, so we use a PERCPU_ARRAY
map for that, use a helper to shorten the sequence to access that area.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/examples/bpf/augmented_raw_syscalls.c