aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorChuang Wang <[email protected]>2022-12-27 02:30:36 +0000
committerSteven Rostedt (Google) <[email protected]>2023-01-24 23:11:41 +0000
commit685b64e4d6da4be8b4595654a57db663b3d1dfc2 (patch)
treed414dcaf4ffdd54322b4763706dd2a1dc757a7b0 /tools/perf/scripts/python/check-perf-trace.py
parenttracing: Kconfig: Fix spelling/grammar/punctuation (diff)
downloadkernel-685b64e4d6da4be8b4595654a57db663b3d1dfc2.tar.gz
kernel-685b64e4d6da4be8b4595654a57db663b3d1dfc2.zip
tracing/osnoise: Use built-in RCU list checking
list_for_each_entry_rcu() has built-in RCU and lock checking. Pass cond argument to list_for_each_entry_rcu() to silence false lockdep warning when CONFIG_PROVE_RCU_LIST is enabled. Execute as follow: [tracing]# echo osnoise > current_tracer [tracing]# echo 1 > tracing_on [tracing]# echo 0 > tracing_on The trace_types_lock is held when osnoise_tracer_stop() or timerlat_tracer_stop() are called in the non-RCU read side section. So, pass lockdep_is_held(&trace_types_lock) to silence false lockdep warning. Link: https://lkml.kernel.org/r/[email protected] Cc: Masami Hiramatsu <[email protected]> Fixes: dae181349f1e ("tracing/osnoise: Support a list of trace_array *tr") Acked-by: Daniel Bristot de Oliveira <[email protected]> Signed-off-by: Chuang Wang <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions