Home
last modified time | relevance | path

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

/linux-6.12.1/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 "% insmod test_modules/$MOD_TARGET.ko
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.sh47 MOD_TARGET=test_klp_callbacks_mod
51 check_sysfs_value "$MOD_LIVEPATCH" "$MOD_TARGET/patched" "0"
52 load_mod $MOD_TARGET
53 check_sysfs_value "$MOD_LIVEPATCH" "$MOD_TARGET/patched" "1"
54 unload_mod $MOD_TARGET
55 check_sysfs_value "$MOD_LIVEPATCH" "$MOD_TARGET/patched" "0"