Steven Rostedt (VMware)
faf6784df8
tracing: Get trace_array reference for available_tracers files
...
commit 194c2c74f5532e62c218adeb8e2b683119503907 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: 607e2ea167e56 ("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:44:00 -07:00
..
2019-10-07 18:55:15 +02:00
2019-08-09 17:53:37 +02:00
2017-08-22 18:43:23 -07:00
2019-02-12 19:46:09 +01:00
2019-08-16 10:13:55 +02:00
2017-11-02 11:10:55 +01:00
2019-09-19 09:08:04 +02:00
2019-10-07 18:55:09 +02:00
2019-10-11 18:18:36 +02:00
2019-06-11 12:21:48 +02:00
2019-10-05 12:48:04 +02:00
2019-05-31 06:47:33 -07:00
2019-10-11 18:18:41 +02:00
2019-10-11 18:18:46 +02:00
2019-10-17 13:44:00 -07:00
2018-01-10 09:31:17 +01:00
2018-02-16 20:23:05 +01:00
2017-11-02 11:10:55 +01:00
2018-09-26 08:38:09 +02:00
2018-05-30 07:52:39 +02:00
2017-09-03 20:21:24 -04:00
2019-05-31 06:47:25 -07:00
2018-08-06 16:20:49 +02:00
2018-11-13 11:15:08 -08:00
2017-11-02 11:10:55 +01:00
2018-05-16 10:10:26 +02:00
2017-07-31 13:09:49 +02:00
2019-07-21 09:04:40 +02:00
2018-01-17 09:45:27 +01:00
2019-07-31 07:28:58 +02:00
2018-08-03 07:50:38 +02:00
2017-11-02 11:10:55 +01:00
2019-10-11 18:18:42 +02:00
2017-11-02 11:10:55 +01:00
2019-08-09 17:53:36 +02:00
2017-09-23 16:50:20 -04:00
2019-10-17 13:43:45 -07:00
2017-11-02 11:10:55 +01:00
2019-05-10 17:53:15 +02:00
2017-12-20 10:10:18 +01:00
2019-04-20 09:15:05 +02:00
2018-12-05 19:41:17 +01:00
2019-09-21 07:15:38 +02:00
2017-11-02 11:10:55 +01:00
2018-08-03 07:50:22 +02:00
2019-10-07 18:55:23 +02:00
2017-07-12 16:26:02 -07:00
2017-11-02 11:10:55 +01:00
2017-07-12 16:26:00 -07:00
2017-09-08 18:26:51 -07:00
2019-10-05 12:48:01 +02:00
2017-07-12 16:25:59 -07:00
2018-08-03 07:50:21 +02:00
2019-06-19 08:20:56 +02:00
2019-01-13 10:01:02 +01:00
2019-09-16 08:20:46 +02:00
2019-07-31 07:28:39 +02:00
2019-10-17 13:43:19 -07:00
2017-10-03 17:54:26 -07:00
2019-07-31 07:28:21 +02:00
2017-08-21 12:47:31 -07:00
2019-07-10 09:54:38 +02:00
2017-11-02 11:10:55 +01:00
2019-03-13 14:03:20 -07:00
2018-04-24 09:36:22 +02:00
2018-05-22 18:54:04 +02:00
2019-06-09 09:18:17 +02:00
2019-02-12 19:46:13 +01:00
2017-10-04 10:53:54 +02:00
2017-11-02 11:10:55 +01:00
2018-08-15 18:12:47 +02:00
2018-09-05 09:26:36 +02:00
2017-11-02 11:10:55 +01:00
2019-06-15 11:54:52 +02:00
2017-11-02 11:10:55 +01:00
2019-06-15 11:54:51 +02:00
2017-12-25 14:26:21 +01:00
2017-07-25 13:04:45 -07:00
2018-05-09 09:51:50 +02:00
2017-12-20 10:10:18 +01:00
2017-09-08 18:26:50 -07:00
2017-08-29 15:14:38 +02:00
2018-09-09 19:56:00 +02:00
2018-09-09 19:56:00 +02:00
2018-09-05 09:26:42 +02:00
2018-09-05 09:26:42 +02:00
2017-11-06 12:26:49 -08:00
2018-09-05 09:26:42 +02:00