commit | 55f127b43143363d000165c7cb72e4b95de1380d | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <[email protected]> | Tue Nov 06 15:23:40 2018 -0300 |
committer | Arnaldo Carvalho de Melo <[email protected]> | Wed Nov 21 12:00:31 2018 -0300 |
tree | df0387f70dfc0153b74dd1b7f07d44500f3e314c | |
parent | 1475d35c4a6174d4ec633b9af5713e9770b3ac0d [diff] |
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]>