Home
last modified time | relevance | path

Searched refs:PR_TSC_ENABLE (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/prctl/
H A Ddisable-tsc-test.c22 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
29 [PR_TSC_ENABLE] = "PR_TSC_ENABLE",
53 printf("prctl(PR_SET_TSC, PR_TSC_ENABLE)\n"); in sigsegv_cb()
55 if ( prctl(PR_SET_TSC, PR_TSC_ENABLE) == -1) in sigsegv_cb()
76 printf("prctl(PR_SET_TSC, PR_TSC_ENABLE)\n"); in main()
79 if ( prctl(PR_SET_TSC, PR_TSC_ENABLE) == -1) in main()
H A Ddisable-tsc-on-off-stress-test.c27 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
50 if (prctl(PR_SET_TSC, PR_TSC_ENABLE) < 0) in sigsegv_cb()
H A Ddisable-tsc-ctxt-sw-stress-test.c27 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
67 if (prctl(PR_SET_TSC, PR_TSC_ENABLE) < 0) in rdtsctask()
/kernel/linux/linux-6.6/tools/testing/selftests/prctl/
H A Ddisable-tsc-test.c22 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
29 [PR_TSC_ENABLE] = "PR_TSC_ENABLE",
53 printf("prctl(PR_SET_TSC, PR_TSC_ENABLE)\n"); in sigsegv_cb()
55 if ( prctl(PR_SET_TSC, PR_TSC_ENABLE) == -1) in sigsegv_cb()
76 printf("prctl(PR_SET_TSC, PR_TSC_ENABLE)\n"); in main()
79 if ( prctl(PR_SET_TSC, PR_TSC_ENABLE) == -1) in main()
H A Ddisable-tsc-on-off-stress-test.c27 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
50 if (prctl(PR_SET_TSC, PR_TSC_ENABLE) < 0) in sigsegv_cb()
H A Ddisable-tsc-ctxt-sw-stress-test.c27 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
67 if (prctl(PR_SET_TSC, PR_TSC_ENABLE) < 0) in rdtsctask()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dprctl.h52 # define PR_TSC_ENABLE 1 macro
/kernel/linux/linux-5.10/tools/include/uapi/linux/
H A Dprctl.h77 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dprctl.h77 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dprctl.h77 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dprctl.h65 #define PR_TSC_ENABLE 1 macro
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dprctl.h77 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dprctl.h65 #define PR_TSC_ENABLE 1 macro
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dprocess.c249 val = PR_TSC_ENABLE; in get_tsc_mode()
258 else if (val == PR_TSC_ENABLE) in set_tsc_mode()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dprocess.c314 val = PR_TSC_ENABLE; in get_tsc_mode()
323 else if (val == PR_TSC_ENABLE) in set_tsc_mode()

Completed in 10 milliseconds