aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/tests/shell/lib/perf_json_output_lint.py
diff options
context:
space:
mode:
authorConor Dooley <[email protected]>2023-03-03 14:37:55 +0000
committerPalmer Dabbelt <[email protected]>2023-03-09 14:58:51 -0800
commit2a8db5ec4a28a0fce822d10224db9471a44b6925 (patch)
tree9c89b3b16d0627904604d39260109169bc3359aa /tools/perf/tests/shell/lib/perf_json_output_lint.py
parent76950340cf03b149412fe0d5f0810e52ac1df8cb (diff)
RISC-V: Don't check text_mutex during stop_machine
We're currently using stop_machine() to update ftrace & kprobes, which means that the thread that takes text_mutex during may not be the same as the thread that eventually patches the code. This isn't actually a race because the lock is still held (preventing any other concurrent accesses) and there is only one thread running during stop_machine(), but it does trigger a lockdep failure. This patch just elides the lockdep check during stop_machine. Fixes: c15ac4fd60d5 ("riscv/ftrace: Add dynamic function tracer support") Suggested-by: Steven Rostedt <[email protected]> Reported-by: Changbin Du <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]> Signed-off-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/tests/shell/lib/perf_json_output_lint.py')
0 files changed, 0 insertions, 0 deletions