summaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2021-04-08 12:35:59 +0200
committerPeter Zijlstra <peterz@infradead.org>2021-04-16 16:32:41 +0200
commit2e498d0a74e5b88a6689ae1b811f247f91ff188e (patch)
tree3a236bd74d671a0ba46923d5bacc9cbf7b46a12d /kernel/signal.c
parent2b26f0aa004995f49f7b6f4100dd0e4c39a9ed5f (diff)
downloadlinux-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