[for-next][PATCH 19/30] tracing/uprobes: Add busy check when cleanup all uprobes

2018-12-05 Thread Steven Rostedt
From: Masami Hiramatsu Add a busy check loop in cleanup_all_probes() before trying to remove all events in uprobe_events, the same way that kprobe_events does. Without this change, writing null to uprobe_events will try to remove events but if one of them is enabled, it will stop there leaving

[for-next][PATCH 19/30] tracing/uprobes: Add busy check when cleanup all uprobes

2018-12-05 Thread Steven Rostedt
From: Masami Hiramatsu Add a busy check loop in cleanup_all_probes() before trying to remove all events in uprobe_events, the same way that kprobe_events does. Without this change, writing null to uprobe_events will try to remove events but if one of them is enabled, it will stop there leaving