summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2019-10-11 23:56:57 +0200
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-10-13 02:40:21 +0200
commit9ef16693aff8137faa21d16ffe65bb9832d24d71 (patch)
tree7e23890397b42a49853612a91c2edb9f48f489f2 /kernel/trace/trace.c
parenttracefs: Revert ccbd54ff54e8 ("tracefs: Restrict tracefs when the kernel is l... (diff)
downloadlinux-9ef16693aff8137faa21d16ffe65bb9832d24d71.tar.xz
linux-9ef16693aff8137faa21d16ffe65bb9832d24d71.zip
ftrace: Get a reference counter for the trace_array on filter files
The ftrace set_ftrace_filter and set_ftrace_notrace files are specific for an instance now. They need to take a reference to the instance otherwise there could be a race between accessing the files and deleting the instance. It wasn't until the :mod: caching where these file operations started referencing the trace_array directly. Cc: stable@vger.kernel.org Fixes: 673feb9d76ab3 ("ftrace: Add :mod: caching infrastructure to trace_array") Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions