/linux-5.19.10/tools/testing/selftests/x86/ |
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
D | test_vsyscall.c | 518 static void sigtrap(int sig, siginfo_t *info, void *ctx_void) in sigtrap() function 536 sethandler(SIGTRAP, sigtrap, 0); in test_emulation()
|
/linux-5.19.10/tools/perf/tests/ |
D | sigtrap.c | 49 .sigtrap = 1, /* Request synchronous SIGTRAP on event. */ in make_event_attr() 164 DEFINE_SUITE("Sigtrap", sigtrap);
|
D | tests.h | 149 DECLARE_SUITE(sigtrap);
|
D | Build | 68 perf-y += sigtrap.o
|
/linux-5.19.10/tools/testing/selftests/perf_events/ |
D | remove_on_exec.c | 54 .sigtrap = 1, in make_event_attr()
|
D | sigtrap_threads.c | 63 .sigtrap = 1, /* Request synchronous SIGTRAP on event. */ in make_event_attr()
|
/linux-5.19.10/tools/perf/util/ |
D | perf_event_attr_fprintf.c | 142 PRINT_ATTRf(sigtrap, p_unsigned); in perf_event_attr__fprintf()
|
/linux-5.19.10/tools/include/uapi/linux/ |
D | perf_event.h | 413 sigtrap : 1, /* send synchronous SIGTRAP on event */ member
|
/linux-5.19.10/include/uapi/linux/ |
D | perf_event.h | 413 sigtrap : 1, /* send synchronous SIGTRAP on event */ member
|
/linux-5.19.10/kernel/events/ |
D | core.c | 6444 if (event->attr.sigtrap) { in perf_pending_event_disable() 9752 if (event->attr.sigtrap) in perf_tp_event() 11480 if (attr->sigtrap && !task) { in perf_event_alloc() 11535 if (event->attr.sigtrap) in perf_event_alloc() 11816 if (attr->sigtrap && !attr->remove_on_exec) in perf_copy_attr() 11996 if (attr->sigtrap) { in perf_check_permission() 13110 (event->attr.sigtrap && (clone_flags & CLONE_CLEAR_SIGHAND))) { in inherit_task_group()
|