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

/linux-4.1.27/tools/testing/selftests/x86/
H A Dsingle_step_syscall.c54 static volatile sig_atomic_t sig_traps; variable
89 sig_traps++; sigtrap()
91 if (sig_traps == 10000 || sig_traps == 10001) { sigtrap()
93 (int)sig_traps, sigtrap()
104 if (!sig_traps) { check_result()
114 printf("[OK]\tSurvived with TF set and %d traps\n", (int)sig_traps); check_result()
115 sig_traps = 0; check_result()
174 if (sig_traps) { main()

Completed in 27 milliseconds