]> git.karo-electronics.de Git - linux-beck.git/commit
tracing: Only create tracer options files if directory exists
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Tue, 3 Feb 2015 16:56:20 +0000 (11:56 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 3 Feb 2015 17:48:38 +0000 (12:48 -0500)
commit0f67f04ffcb592d065a20862a82d4539e0f8e909
treef4c574d454ecd79054291cf2ed868706a4501fd6
parentdfbc1534eac550b37df592a8a0b550cd47539d0b
tracing: Only create tracer options files if directory exists

Do not bother creating tracer options if no tracing directory
exists. If a tracer is enabled via the command line, and is
started before the tracing directory is created, then it wont have
its tracer specific options created.

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