/linux-6.3-rc2/tools/testing/selftests/x86/ |
A D | syscall_nt.c | 33 static void sigtrap(int sig, siginfo_t *si, void *ctx_void) in sigtrap() function 70 sethandler(SIGTRAP, sigtrap, 0); in main()
|
A D | syscall_arg_fault.c | 64 static void sigtrap(int sig, siginfo_t *info, void *ctx_void) in sigtrap() function 171 sethandler(SIGTRAP, sigtrap, SA_ONSTACK); in main()
|
A D | sigreturn.c | 475 static void sigtrap(int sig, siginfo_t *info, void *ctx_void) in sigtrap() function 779 sethandler(SIGTRAP, sigtrap, SA_ONSTACK); in main() 830 sethandler(SIGSEGV, sigtrap, SA_ONSTACK); in main() 831 sethandler(SIGBUS, sigtrap, SA_ONSTACK); in main() 832 sethandler(SIGILL, sigtrap, SA_ONSTACK); /* 32-bit kernels do this */ in main()
|
A D | unwind_vdso.c | 107 static void sigtrap(int sig, siginfo_t *info, void *ctx_void) in sigtrap() function 152 sethandler(SIGTRAP, sigtrap, 0); in main()
|
A D | single_step_syscall.c | 71 static void sigtrap(int sig, siginfo_t *info, void *ctx_void) in sigtrap() function 151 sethandler(SIGTRAP, sigtrap, 0); in main()
|
A D | mov_ss_trap.c | 116 static void sigtrap(int sig, siginfo_t *si, void *ctx_void) in sigtrap() function 154 sethandler(SIGTRAP, sigtrap, 0); in main()
|
A D | test_vsyscall.c | 515 static void sigtrap(int sig, siginfo_t *info, void *ctx_void) in sigtrap() function 533 sethandler(SIGTRAP, sigtrap, 0); in test_emulation()
|
/linux-6.3-rc2/tools/perf/tests/ |
A D | sigtrap.c | 49 .sigtrap = 1, /* Request synchronous SIGTRAP on event. */ in make_event_attr() 99 .sigtrap = 1, /* Request synchronous SIGTRAP on event. */ in attr_has_sigtrap() 227 DEFINE_SUITE("Sigtrap", sigtrap);
|
A D | tests.h | 149 DECLARE_SUITE(sigtrap);
|
A D | Build | 69 perf-y += sigtrap.o
|
/linux-6.3-rc2/tools/testing/selftests/perf_events/ |
A D | remove_on_exec.c | 54 .sigtrap = 1, in make_event_attr()
|
A D | sigtrap_threads.c | 63 .sigtrap = 1, /* Request synchronous SIGTRAP on event. */ in make_event_attr()
|
/linux-6.3-rc2/tools/perf/util/ |
A D | perf_event_attr_fprintf.c | 142 PRINT_ATTRf(sigtrap, p_unsigned); in perf_event_attr__fprintf()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | perf_event.h | 458 sigtrap : 1, /* send synchronous SIGTRAP on event */ member
|
/linux-6.3-rc2/tools/include/uapi/linux/ |
A D | perf_event.h | 458 sigtrap : 1, /* send synchronous SIGTRAP on event */ member
|
/linux-6.3-rc2/kernel/events/ |
A D | core.c | 9509 if (event->attr.sigtrap) { in __perf_event_overflow() 10105 if (event->attr.sigtrap) in __perf_tp_event_target_task() 11799 if (attr->sigtrap && !task) { in perf_event_alloc() 12131 if (attr->sigtrap && !attr->remove_on_exec) in perf_copy_attr() 12280 if (attr->sigtrap) { in perf_check_permission() 13362 (event->attr.sigtrap && (clone_flags & CLONE_CLEAR_SIGHAND))) { in inherit_task_group()
|