aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <[email protected]>2014-05-30 14:49:46 +0000
committerSteven Rostedt <[email protected]>2014-05-30 17:03:40 +0000
commit4c27e756bc019ec1c11232893af036fdae720a97 (patch)
tree799c598208d828e343422d73cb70b74e22f64608 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parenttracing: Try again for saved cmdline if failed due to locking (diff)
downloadkernel-4c27e756bc019ec1c11232893af036fdae720a97.tar.gz
kernel-4c27e756bc019ec1c11232893af036fdae720a97.zip
tracing: Move locking of trace_cmdline_lock into start/stop seq calls
With the conversion of the saved_cmdlines output to use seq_read, there is now a race between accessing the values of the saved_cmdlines and the writing to them. The trace_cmdline_lock needs to be taken at the start and stop of the seq calls. A new __trace_find_cmdline() call is created to allow for the look up to happen without taking the lock. Fixes: 42584c81c5ad tracing: Have saved_cmdlines use the seq_read infrastructure Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions