| /tools/testing/selftests/x86/ |
| A D | vdso_restorer.c | 27 void *handler; member 61 sa.handler = handler_with_siginfo; in main() 82 sa.handler = handler_without_siginfo; in main()
|
| A D | helpers.h | 30 static inline void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), int flags) in sethandler() 35 sa.sa_sigaction = handler; in sethandler()
|
| A D | sigtrap_loop.c | 20 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), int flags) in sethandler() 25 sa.sa_sigaction = handler; in sethandler()
|
| /tools/testing/selftests/timers/ |
| A D | leapcrash.c | 51 void handler(int unused) in handler() function 67 signal(SIGINT, handler); in main() 68 signal(SIGKILL, handler); in main()
|
| A D | leap-a-day.c | 124 void handler(int unused) in handler() function 221 signal(SIGINT, handler); in main() 222 signal(SIGKILL, handler); in main()
|
| /tools/testing/selftests/powerpc/tm/ |
| A D | tm-sigreturn.c | 27 void handler(int sig) in handler() function 62 sa.sa_handler = handler; in tm_sigreturn()
|
| /tools/testing/selftests/filesystems/ |
| A D | dnotify_test.c | 11 static void handler(int sig, siginfo_t *si, void *data) in handler() function 21 act.sa_sigaction = handler; in main()
|
| /tools/testing/selftests/kvm/include/ |
| A D | userfaultfd_util.h | 21 uffd_handler_t handler; member 38 uffd_handler_t handler);
|
| /tools/perf/util/scripting-engines/ |
| A D | trace-event-python.c | 135 PyObject *handler; in get_handler() local 138 if (handler && !PyCallable_Check(handler)) in get_handler() 140 return handler; in get_handler() 155 PyObject *handler; in try_call_object() local 158 if (handler) in try_call_object() 967 if (!handler) { in python_process_tracepoint() 969 if (!handler) in python_process_tracepoint() 1471 if (!handler) in python_process_general_event() 1530 if (!handler) in python_process_throttle() 1560 if (!handler) in python_do_process_switch() [all …]
|
| A D | trace-event-perl.c | 349 static char handler[256]; in perl_process_tracepoint() local 373 sprintf(handler, "%s::%s", event->system, event->name); in perl_process_tracepoint() 376 define_event_symbols(event, handler, event->print_fmt.args); in perl_process_tracepoint() 385 XPUSHs(sv_2mortal(newSVpv(handler, 0))); in perl_process_tracepoint() 420 if (get_cv(handler, 0)) in perl_process_tracepoint() 421 call_pv(handler, G_SCALAR); in perl_process_tracepoint() 423 XPUSHs(sv_2mortal(newSVpv(handler, 0))); in perl_process_tracepoint()
|
| /tools/perf/Documentation/ |
| A D | perf-script-perl.txt | 26 That will generate a starter script containing a handler for each of 40 'handler function' is called for each event in the trace. If there's 41 no handler function defined for a given event type, the event is 46 handler function; some of the less common ones aren't - those are 74 The handler function for this event would be defined as: 85 The handler function takes the form subsystem::event_name. 87 The $common_* arguments in the handler's argument list are the set of 126 The rest of the script can contain handler functions and support 129 Aside from the event handler functions discussed above, every script 152 doesn't have a handler explicitly defined for it. The standard set [all …]
|
| A D | perf-script-python.txt | 109 callback handler for each event type found in the perf.data trace 168 Following those are the 'event handler' functions generated one for 178 doesn't correspond to any event handler in the script. This could 232 sys_enter() handler do the necessary tallying until all events have 258 Putting that code into the raw_syscalls__sys_enter() handler, we 269 handler called at the end of script processing. 435 no handler function defined for a given event type, the event is 440 handler function; some of the less common ones aren't - those are 468 The handler function for this event would be defined as: 477 The handler function takes the form subsystem__event_name. [all …]
|
| /tools/testing/selftests/riscv/sigreturn/ |
| A D | sigreturn.c | 42 static int vector_sigreturn(int data, void (*handler)(int, siginfo_t *, void *)) in vector_sigreturn() 46 .sa_sigaction = handler, in vector_sigreturn()
|
| /tools/verification/rv/src/ |
| A D | trace.c | 54 if (!event->handler) in collect_registered_events() 57 event->handler(s, record, event, context); in collect_registered_events()
|
| /tools/arch/x86/include/asm/ |
| A D | asm.h | 127 # define _ASM_EXTABLE_HANDLE(from, to, handler) \ argument 132 .long (handler) - . ; \ 159 # define _ASM_EXTABLE_HANDLE(from, to, handler) \ argument 164 " .long (" _EXPAND_EXTABLE_HANDLE(handler) ") - .\n" \
|
| /tools/testing/selftests/kvm/lib/ |
| A D | userfaultfd_util.c | 88 r = reader_args->handler(reader_args->uffd_mode, uffd, &msg); in uffd_handler_thread_fn() 105 uffd_handler_t handler) in uffd_setup_demand_paging() argument 167 uffd_desc->reader_args[i].handler = handler; in uffd_setup_demand_paging()
|
| /tools/testing/selftests/bpf/progs/ |
| A D | test_perf_link.c | 10 int handler(struct pt_regs *ctx) in handler() function
|
| A D | test_perf_skip.c | 9 int handler(struct bpf_perf_event_data *data) in handler() function
|
| A D | test_snprintf_single.c | 11 int handler(const void *ctx) in handler() function
|
| A D | test_ksyms_btf_null_check.c | 12 int handler(const void *ctx) in handler() function
|
| A D | test_ksyms.c | 21 int handler(const void *ctx) in handler() function
|
| A D | test_core_read_macros.c | 31 int handler(void *ctx) in handler() function
|
| /tools/testing/selftests/net/netfilter/ |
| A D | connect_close.c | 24 static void handler(int sig) in handler() function 32 .sa_handler = handler, in set_timeout()
|
| /tools/testing/selftests/kvm/include/riscv/ |
| A D | processor.h | 126 void vm_install_exception_handler(struct kvm_vm *vm, int vector, exception_handler_fn handler); 128 void vm_install_interrupt_handler(struct kvm_vm *vm, exception_handler_fn handler);
|
| /tools/testing/selftests/arm64/bti/ |
| A D | test.c | 77 static void handler(int n, siginfo_t *si __always_unused, in handler() function 206 sa.sa_handler = (sighandler_t)(void *)handler; in start()
|