/linux-6.1.9/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 | 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 | 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 | 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-6.1.9/tools/perf/tests/ |
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);
|
D | tests.h | 149 DECLARE_SUITE(sigtrap);
|
D | Build | 69 perf-y += sigtrap.o
|
/linux-6.1.9/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-6.1.9/tools/perf/util/ |
D | perf_event_attr_fprintf.c | 142 PRINT_ATTRf(sigtrap, p_unsigned); in perf_event_attr__fprintf()
|
/linux-6.1.9/tools/include/uapi/linux/ |
D | perf_event.h | 457 sigtrap : 1, /* send synchronous SIGTRAP on event */ member
|
/linux-6.1.9/include/uapi/linux/ |
D | perf_event.h | 457 sigtrap : 1, /* send synchronous SIGTRAP on event */ member
|
/linux-6.1.9/kernel/events/ |
D | core.c | 9330 if (event->attr.sigtrap) { in __perf_event_overflow() 9924 if (event->attr.sigtrap) in perf_tp_event() 11667 if (attr->sigtrap && !task) { in perf_event_alloc() 11998 if (attr->sigtrap && !attr->remove_on_exec) in perf_copy_attr() 12178 if (attr->sigtrap) { in perf_check_permission() 13292 (event->attr.sigtrap && (clone_flags & CLONE_CLEAR_SIGHAND))) { in inherit_task_group()
|