Home
last modified time | relevance | path

Searched refs:sigtrap (Results 1 – 16 of 16) sorted by relevance

/Linux-v6.6/tools/testing/selftests/x86/
Dsyscall_nt.c33 static void sigtrap(int sig, siginfo_t *si, void *ctx_void) in sigtrap() function
70 sethandler(SIGTRAP, sigtrap, 0); in main()
Dsyscall_arg_fault.c64 static void sigtrap(int sig, siginfo_t *info, void *ctx_void) in sigtrap() function
171 sethandler(SIGTRAP, sigtrap, SA_ONSTACK); in main()
Dsigreturn.c475 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()
Dunwind_vdso.c107 static void sigtrap(int sig, siginfo_t *info, void *ctx_void) in sigtrap() function
152 sethandler(SIGTRAP, sigtrap, 0); in main()
Dsingle_step_syscall.c71 static void sigtrap(int sig, siginfo_t *info, void *ctx_void) in sigtrap() function
151 sethandler(SIGTRAP, sigtrap, 0); in main()
Dmov_ss_trap.c116 static void sigtrap(int sig, siginfo_t *si, void *ctx_void) in sigtrap() function
154 sethandler(SIGTRAP, sigtrap, 0); in main()
Dtest_vsyscall.c515 static void sigtrap(int sig, siginfo_t *info, void *ctx_void) in sigtrap() function
533 sethandler(SIGTRAP, sigtrap, 0); in test_emulation()
/Linux-v6.6/tools/perf/tests/
Dsigtrap.c49 .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);
Dtests.h145 DECLARE_SUITE(sigtrap);
DBuild66 perf-y += sigtrap.o
/Linux-v6.6/tools/testing/selftests/perf_events/
Dremove_on_exec.c54 .sigtrap = 1, in make_event_attr()
Dsigtrap_threads.c63 .sigtrap = 1, /* Request synchronous SIGTRAP on event. */ in make_event_attr()
/Linux-v6.6/tools/include/uapi/linux/
Dperf_event.h458 sigtrap : 1, /* send synchronous SIGTRAP on event */ member
/Linux-v6.6/tools/perf/util/
Dperf_event_attr_fprintf.c310 PRINT_ATTRf(sigtrap, p_unsigned); in perf_event_attr__fprintf()
/Linux-v6.6/include/uapi/linux/
Dperf_event.h458 sigtrap : 1, /* send synchronous SIGTRAP on event */ member
/Linux-v6.6/kernel/events/
Dcore.c9528 if (event->attr.sigtrap) { in __perf_event_overflow()
10130 if (event->attr.sigtrap) in __perf_tp_event_target_task()
11836 if (attr->sigtrap && !task) { in perf_event_alloc()
12168 if (attr->sigtrap && !attr->remove_on_exec) in perf_copy_attr()
12317 if (attr->sigtrap) { in perf_check_permission()
13403 (event->attr.sigtrap && (clone_flags & CLONE_CLEAR_SIGHAND))) { in inherit_task_group()