diff options
author | Beau Belgrave <[email protected]> | 2023-03-28 16:52:12 -0700 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2023-03-29 06:52:08 -0400 |
commit | dcb8177c13953872c9e5ce4a99b63a87a3c2f683 (patch) | |
tree | a5b552e9688432c2d5bf0ccf3f2ce26afb479467 /lib/mpi/mpi-mod.c | |
parent | 81f8fb65499817a4d1d5d66d9e74a903061ce637 (diff) |
tracing/user_events: Add ioctl for disabling addresses
Enablements are now tracked by the lifetime of the task/mm. User
processes need to be able to disable their addresses if tracing is
requested to be turned off. Before unmapping the page would suffice.
However, we now need a stronger contract. Add an ioctl to enable this.
A new flag bit is added, freeing, to user_event_enabler to ensure that
if the event is attempted to be removed while a fault is being handled
that the remove is delayed until after the fault is reattempted.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Beau Belgrave <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions