tracing: Have trace events system open call tracing_open_generic_tr()
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 11 Oct 2019 23:12:21 +0000 (19:12 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sun, 13 Oct 2019 00:43:00 +0000 (20:43 -0400)
commitaa07d71f1bc7ea20e442e812b5de9d632b7f84c6
tree126ec8caf3491a1c6029249ae718f70bffa131f4
parent194c2c74f5532e62c218adeb8e2b683119503907
tracing: Have trace events system open call tracing_open_generic_tr()

Instead of having the trace events system open call open code the taking of
the trace_array descriptor (with trace_array_get()) and then calling
trace_open_generic(), have it use the tracing_open_generic_tr() that does
the combination of the two. This requires making tracing_open_generic_tr()
global.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h
kernel/trace/trace_events.c