diff --git a/BM/tdx-compliance/tests-trigger-cpuid.sh b/BM/tdx-compliance/tests-trigger-cpuid.sh index 398ba738..cf41455e 100755 --- a/BM/tdx-compliance/tests-trigger-cpuid.sh +++ b/BM/tdx-compliance/tests-trigger-cpuid.sh @@ -1,3 +1,4 @@ +##!/bin/bash # Some examples on how to trigger the cpuid and capture #VE. # Register the kretprobe. echo kretprobe > /sys/kernel/debug/tdx/tdx-tests @@ -6,4 +7,4 @@ echo kretprobe > /sys/kernel/debug/tdx/tdx-tests echo trigger_cpuid 0x1f 0x0 0x0 0x0 > /sys/kernel/debug/tdx/tdx-tests # Unregister the kretprobe. -echo unregister > /sys/kernel/debug/tdx/tdx-tests \ No newline at end of file +echo unregister > /sys/kernel/debug/tdx/tdx-tests