Home
last modified time | relevance | path

Searched refs:MOD_TARGET (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/tools/testing/selftests/livepatch/
Dtest-callbacks.sh9 MOD_TARGET=test_klp_callbacks_mod
31 load_mod $MOD_TARGET
35 unload_mod $MOD_TARGET
37 check_result "% modprobe $MOD_TARGET
38 $MOD_TARGET: ${MOD_TARGET}_init
43 $MOD_LIVEPATCH: pre_patch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state
47 $MOD_LIVEPATCH: post_patch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state
52 $MOD_LIVEPATCH: pre_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state
56 $MOD_LIVEPATCH: post_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state
59 % rmmod $MOD_TARGET
[all …]
Dtest-sysfs.sh46 MOD_TARGET=test_klp_callbacks_mod
50 check_sysfs_value "$MOD_LIVEPATCH" "$MOD_TARGET/patched" "0"
51 load_mod $MOD_TARGET
52 check_sysfs_value "$MOD_LIVEPATCH" "$MOD_TARGET/patched" "1"
53 unload_mod $MOD_TARGET
54 check_sysfs_value "$MOD_LIVEPATCH" "$MOD_TARGET/patched" "0"