selftests/perf_events: Add kselftest for remove_on_exec
Add kselftest to test that remove_on_exec removes inherited events from child tasks. Signed-off-by:Marco Elver <elver@google.com> Signed-off-by:
Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20210408103605.1676875-9-elver@google.com
Showing
- tools/testing/selftests/perf_events/.gitignore 1 addition, 0 deletionstools/testing/selftests/perf_events/.gitignore
- tools/testing/selftests/perf_events/Makefile 1 addition, 1 deletiontools/testing/selftests/perf_events/Makefile
- tools/testing/selftests/perf_events/remove_on_exec.c 260 additions, 0 deletionstools/testing/selftests/perf_events/remove_on_exec.c
Loading
Please register or sign in to comment