Searched refs:PR_SET_TSC (Results 1 - 5 of 5) sorted by relevance
/linux-4.4.14/Documentation/prctl/ |
H A D | disable-tsc-test.c | 2 * Tests for prctl(PR_GET_TSC, ...) / prctl(PR_SET_TSC, ...) 4 * Basic test to test behaviour of PR_GET_TSC and PR_SET_TSC 20 #define PR_SET_TSC 26 macro 52 printf("prctl(PR_SET_TSC, PR_TSC_ENABLE)\n"); sigsegv_cb() 54 if ( prctl(PR_SET_TSC, PR_TSC_ENABLE) == -1) sigsegv_cb() 75 printf("prctl(PR_SET_TSC, PR_TSC_ENABLE)\n"); main() 78 if ( prctl(PR_SET_TSC, PR_TSC_ENABLE) == -1) main() 82 printf("prctl(PR_SET_TSC, PR_TSC_SIGSEGV)\n"); main() 85 if ( prctl(PR_SET_TSC, PR_TSC_SIGSEGV) == -1) main()
|
H A D | disable-tsc-ctxt-sw-stress-test.c | 2 * Tests for prctl(PR_GET_TSC, ...) / prctl(PR_SET_TSC, ...) 25 #define PR_SET_TSC 26 macro 45 if (prctl(PR_SET_TSC, PR_TSC_SIGSEGV) < 0) segvtask() 66 if (prctl(PR_SET_TSC, PR_TSC_ENABLE) < 0) rdtsctask()
|
H A D | disable-tsc-on-off-stress-test.c | 2 * Tests for prctl(PR_GET_TSC, ...) / prctl(PR_SET_TSC, ...) 25 #define PR_SET_TSC 26 macro 49 if (prctl(PR_SET_TSC, PR_TSC_ENABLE) < 0) sigsegv_cb() 71 if (prctl(PR_SET_TSC, PR_TSC_SIGSEGV) < 0) task()
|
/linux-4.4.14/include/uapi/linux/ |
H A D | prctl.h | 75 #define PR_SET_TSC 26 macro
|
/linux-4.4.14/kernel/ |
H A D | sys.c | 2162 case PR_SET_TSC: SYSCALL_DEFINE5()
|
Completed in 106 milliseconds