Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tracepoint: check if the probe has been registered
Impact: fix kernel crash that can trigger during tracing If we try to remove a probe that has not been already registered, the tracepoint_entry_remove_probe() function will dereference a NULL pointer. Check the probe before removing it to avoid crashes. Signed-off-by: Frederic Weisbecker <[email protected]> Acked-by: Mathieu Desnoyers <[email protected]> Acked-by: Steven Rostedt <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
- Loading branch information