Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tracing: Get trace_array reference for available_tracers files
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: [email protected] Fixes: 607e2ea ("tracing: Set up infrastructure to allow tracers for instances") Signed-off-by: Steven Rostedt (VMware) <[email protected]>
- Loading branch information