perf bpf: Add simple pid_filter class accessible to BPF proggies
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 6 Nov 2018 18:50:36 +0000 (15:50 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Nov 2018 15:00:31 +0000 (12:00 -0300)
commit8008aab0962ea68cc00d15e8d7b0637b48837a40
treed48b4793cf351867fbf1a21a2ef397af9039c4b7
parent382b55dbef6b68e3fef2fd8a438fbaff57695308
perf bpf: Add simple pid_filter class accessible to BPF proggies

Will be used in the augmented_raw_syscalls.c to implement 'perf trace
--filter-pids'.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-9sybmz4vchlbpqwx2am13h9e@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/include/bpf/pid_filter.h [new file with mode: 0644]