Home
last modified time | relevance | path

Searched refs:PR_TSC_ENABLE (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/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",
55 if ( prctl(PR_SET_TSC, PR_TSC_ENABLE) == -1) in sigsegv_cb()
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()
/openbmc/linux/tools/include/uapi/linux/
H A Dprctl.h77 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
/openbmc/linux/include/uapi/linux/
H A Dprctl.h77 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
/openbmc/linux/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()