]> git.baikalelectronics.ru Git - kernel.git/commit
perf augmented_syscalls: Use pid_filter
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 6 Nov 2018 19:09:06 +0000 (16:09 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Nov 2018 15:00:31 +0000 (12:00 -0300)
commit9f3628496ff7e9974084fd4d4fecae8af7dabe3d
treedba0f5375bd8feb79ac5561a39ce517f8579ac5e
parenteeb79a212afe019a59eac2bb5d8590bf90756d30
perf augmented_syscalls: Use pid_filter

Just to test filtering a bunch of pids, now its time to go and get that
hooked up in 'perf trace', right after we load the bpf program, if we
find a "pids_filtered" map defined, we'll populate it with the filtered
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-1i9s27wqqdhafk3fappow84x@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/examples/bpf/augmented_raw_syscalls.c