tracing: Have system enable return error if one of the events fail
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Mon, 28 Nov 2016 18:54:57 +0000 (13:54 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 9 Dec 2016 14:15:41 +0000 (09:15 -0500)
commit989a0a3d248192b6f5d16cc2aea95faed89bb7ce
tree86ee63a59c6470ec84fb6701d6b898404247650e
parent1dd349ab74d278cee50fc24dc26c023f3b149642
tracing: Have system enable return error if one of the events fail

If one of the events within a system fails to enable when "1" is written
to the system "enable" file, it should return an error. Note, some events
may still be enabled, but the user should know that something did go wrong.

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