diff options
author | Marco Elver <elver@google.com> | 2021-04-08 12:35:59 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-04-16 16:32:41 +0200 |
commit | 2e498d0a74e5b88a6689ae1b811f247f91ff188e (patch) | |
tree | 3a236bd74d671a0ba46923d5bacc9cbf7b46a12d /kernel/signal.c | |
parent | 2b26f0aa004995f49f7b6f4100dd0e4c39a9ed5f (diff) | |
download | linux-2e498d0a74e5b88a6689ae1b811f247f91ff188e.tar.bz2 |
perf: Add support for event removal on exec
Adds bit perf_event_attr::remove_on_exec, to support removing an event
from a task on exec.
This option supports the case where an event is supposed to be
process-wide only, and should not propagate beyond exec, to limit
monitoring to the original process image only.
Suggested-by: Peter Zijlstra <peterz@infradead.org>
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-5-elver@google.com
Diffstat (limited to 'kernel/signal.c')
0 files changed, 0 insertions, 0 deletions