summaryrefslogtreecommitdiffstats
path: root/samples/trace_events
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2015-01-27 03:00:48 +0100
committerSteven Rostedt <rostedt@goodmis.org>2015-02-02 16:22:34 +0100
commit7eeafbcab47fe9860e5106286db83d60e3f35644 (patch)
treeb60a82740520c4ef85c05c7273cf84f98d6384dd /samples/trace_events
parenttracing: Make tracing_init_dentry_tr() static (diff)
downloadlinux-7eeafbcab47fe9860e5106286db83d60e3f35644.tar.xz
linux-7eeafbcab47fe9860e5106286db83d60e3f35644.zip
tracing: Separate out initializing top level dir from instances
The top level trace array is treated a little different than the instances, as it has to deal with more of the general tracing. The tr->dir is the tracing directory, which is an immutable dentry, where as the tr->dir of instances are the dentry that was created, and can be destroyed later. These should have different functions accessing them. As only tracing_init_dentry() deals with the top level array, fold the code for it into that function, and remove the trace_init_dentry_tr() that was also used by the instances to get their directory dentry. Add a tracing_get_dentry() to just get the tracing dir entry for instances as well as the top level array. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'samples/trace_events')
0 files changed, 0 insertions, 0 deletions