Searched refs:PR_SET_TSC (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/Documentation/prctl/
H A Ddisable-tsc-test.c2 * 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 Ddisable-tsc-ctxt-sw-stress-test.c2 * 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 Ddisable-tsc-on-off-stress-test.c2 * 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 Dprctl.h75 #define PR_SET_TSC 26 macro
/linux-4.4.14/kernel/
H A Dsys.c2162 case PR_SET_TSC: SYSCALL_DEFINE5()

Completed in 106 milliseconds