aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2018-11-06 18:23:40 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-11-21 15:00:31 +0000
commit55f127b43143363d000165c7cb72e4b95de1380d (patch)
treedf0387f70dfc0153b74dd1b7f07d44500f3e314c /tools/perf/builtin-script.c
parentperf bpf: Add unistd.h to the headers accessible to bpf proggies (diff)
downloadkernel-55f127b43143363d000165c7cb72e4b95de1380d.tar.gz
kernel-55f127b43143363d000165c7cb72e4b95de1380d.zip
perf augmented_syscalls: Filter on a hard coded pid
Just to show where we'll hook pid based filters, and what we use to obtain the current pid, using a BPF getpid() equivalent. Now we need to remove that hardcoded PID with a BPF hash map, so that we start by filtering 'perf trace's own PID, implement the --filter-pid functionality, etc. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions