aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <[email protected]>2019-10-11 22:19:17 +0000
committerSteven Rostedt (VMware) <[email protected]>2019-10-13 00:40:50 +0000
commit194c2c74f5532e62c218adeb8e2b683119503907 (patch)
tree968137a7e069521734daacde26c23244ca1c2089 /tools/perf/scripts/python/event_analyzing_sample.py
parentftrace: Get a reference counter for the trace_array on filter files (diff)
downloadkernel-194c2c74f5532e62c218adeb8e2b683119503907.tar.gz
kernel-194c2c74f5532e62c218adeb8e2b683119503907.zip
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: 607e2ea167e56 ("tracing: Set up infrastructure to allow tracers for instances") Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions