diff options
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/trace_events.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c index ec04836273c0..29a7ebcfb426 100644 --- a/kernel/trace/trace_events.c +++ b/kernel/trace/trace_events.c | |||
@@ -1732,6 +1732,12 @@ static int probe_remove_event_call(struct ftrace_event_call *call) | |||
1732 | */ | 1732 | */ |
1733 | if (file->flags & FTRACE_EVENT_FL_ENABLED) | 1733 | if (file->flags & FTRACE_EVENT_FL_ENABLED) |
1734 | return -EBUSY; | 1734 | return -EBUSY; |
1735 | /* | ||
1736 | * The do_for_each_event_file_safe() is | ||
1737 | * a double loop. After finding the call for this | ||
1738 | * trace_array, we use break to jump to the next | ||
1739 | * trace_array. | ||
1740 | */ | ||
1735 | break; | 1741 | break; |
1736 | } while_for_each_event_file(); | 1742 | } while_for_each_event_file(); |
1737 | 1743 | ||