aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
diff options
context:
space:
mode:
authorMichael Vetter <[email protected]>2024-10-17 20:01:31 +0000
committerPetr Mladek <[email protected]>2024-10-22 15:13:11 +0000
commit59766286b6e54f8ad334dcef7d2e743b7550df0e (patch)
treeeb98479ec72253fc8d7890e214c969abdd5ed47a /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
parentselftests: livepatch: rename KLP_SYSFS_DIR to SYSFS_KLP_DIR (diff)
downloadkernel-59766286b6e54f8ad334dcef7d2e743b7550df0e.tar.gz
kernel-59766286b6e54f8ad334dcef7d2e743b7550df0e.zip
selftests: livepatch: save and restore kprobe state
Save the state of /sys/kernel/debug/kprobes/enabled during setup_config() and restore it during cleanup(). This is in preparation for a future commit that will add a test that should confirm that we cannot livepatch a kprobed function if that kprobe has a post handler. Signed-off-by: Michael Vetter <[email protected]> Reviewed-by: Miroslav Benes <[email protected]> Reviewed-by: Joe Lawrence <[email protected]> Tested-by: Marcos Paulo de Souza <[email protected]> Reviewed-by: Marcos Paulo de Souza <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Tested-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected] [[email protected]: Added few more substitutions in test-syscall.sh] Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions