diff options
author | 2018-12-04 13:35:45 -0500 | |
---|---|---|
committer | 2018-12-10 12:22:10 -0500 | |
commit | 7e1413edd6194a9807aa5f3ac0378b9b4b9da879 (patch) | |
tree | 8357aadd8a15de615bf2fbb39cbd412a9697d165 /include/linux | |
parent | tracing: Remove unneeded synth_event_mutex (diff) | |
download | wireguard-linux-7e1413edd6194a9807aa5f3ac0378b9b4b9da879.tar.xz wireguard-linux-7e1413edd6194a9807aa5f3ac0378b9b4b9da879.zip |
tracing: Consolidate trace_add/remove_event_call back to the nolock functions
The trace_add/remove_event_call_nolock() functions were added to allow
the tace_add/remove_event_call() code be called when the event_mutex
lock was already taken. Now that all callers are done within the
event_mutex, there's no reason to have two different interfaces.
Remove the current wrapper trace_add/remove_event_call()s and rename the
_nolock versions back to the original names.
Link: http://lkml.kernel.org/r/154140866955.17322.2081425494660638846.stgit@devbox
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/trace_events.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/trace_events.h b/include/linux/trace_events.h index 3aa05593a53f..4130a5497d40 100644 --- a/include/linux/trace_events.h +++ b/include/linux/trace_events.h @@ -529,8 +529,6 @@ extern int trace_event_raw_init(struct trace_event_call *call); extern int trace_define_field(struct trace_event_call *call, const char *type, const char *name, int offset, int size, int is_signed, int filter_type); -extern int trace_add_event_call_nolock(struct trace_event_call *call); -extern int trace_remove_event_call_nolock(struct trace_event_call *call); extern int trace_add_event_call(struct trace_event_call *call); extern int trace_remove_event_call(struct trace_event_call *call); extern int trace_event_get_offsets(struct trace_event_call *call); |