Files
linux/kernel
Steven Rostedt (VMware) 35fa86e42b tracing: Get trace_array reference for available_tracers files
commit 194c2c74f5 upstream.

As instances may have different tracers available, we need to look at the
trace_array descriptor that shows the list of the available tracers for the
instance. But there's a race between opening the file and an admin
deleting the instance. The trace_array_get() needs to be called before
accessing the trace_array.

Cc: stable@vger.kernel.org
Fixes: 607e2ea167 ("tracing: Set up infrastructure to allow tracers for instances")
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-17 13:41:05 -07:00
..
2019-08-04 09:34:46 +02:00
2018-01-23 19:50:10 +01:00
2015-11-04 08:23:51 -05:00
2019-06-11 12:23:58 +02:00
2019-06-22 08:18:22 +02:00
2015-11-23 09:44:58 +01:00
2015-11-05 19:34:48 -08:00
2018-05-16 10:06:47 +02:00