aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2025-02-20 20:20:14 +0000
committerSteven Rostedt (Google) <[email protected]>2025-02-21 14:36:12 +0000
commite85c5e9792b942381ad92ccd0ff745b6d408a91f (patch)
treed9fe247a251dd5cb8adb84ab47836ccf66f19795 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentfprobe: Fix accounting of when to unregister from function graph (diff)
downloadkernel-e85c5e9792b942381ad92ccd0ff745b6d408a91f.tar.gz
kernel-e85c5e9792b942381ad92ccd0ff745b6d408a91f.zip
selftests/ftrace: Update fprobe test to check enabled_functions file
A few bugs were found in the fprobe accounting logic along with it using the function graph infrastructure. Update the fprobe selftest to catch those bugs in case they or something similar shows up in the future. The test now checks the enabled_functions file which shows all the functions attached to ftrace or fgraph. When enabling a fprobe, make sure that its corresponding function is also added to that file. Also add two more fprobes to enable to make sure that the fprobe logic works properly with multiple probes. Cc: Mark Rutland <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Sven Schnelle <[email protected]> Cc: Vasily Gorbik <[email protected]> Cc: Alexander Gordeev <[email protected]> Link: https://lore.kernel.org/[email protected] Acked-by: Masami Hiramatsu (Google) <[email protected]> Tested-by: Heiko Carstens <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions