aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2025-05-02 02:41:28 +0000
committerSteven Rostedt (Google) <[email protected]>2025-05-02 02:44:52 +0000
commit0a8f11f8569e7ed16cbcedeb28c4350f6378fea6 (patch)
treeb316d120db35ab3f5400a8b292daf895ace70f35 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parenttracing: Fix trace_adjust_address() when there is no modules in scratch area (diff)
downloadkernel-0a8f11f8569e7ed16cbcedeb28c4350f6378fea6.tar.gz
kernel-0a8f11f8569e7ed16cbcedeb28c4350f6378fea6.zip
tracing: Do not take trace_event_sem in print_event_fields()
On some paths in print_event_fields() it takes the trace_event_sem for read, even though it should always be held when the function is called. Remove the taking of that mutex and add a lockdep_assert_held_read() to make sure the trace_event_sem is held when print_event_fields() is called. Cc: [email protected] Cc: Masami Hiramatsu <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Link: https://lore.kernel.org/[email protected] Fixes: 80a76994b2d88 ("tracing: Add "fields" option to show raw trace event fields") Reported-by: [email protected] Closes: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions