Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 61) sorted by relevance

123

/tools/testing/selftests/x86/
A Dvdso_restorer.c27 void *handler; member
61 sa.handler = handler_with_siginfo; in main()
82 sa.handler = handler_without_siginfo; in main()
A Dhelpers.h30 static inline void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), int flags) in sethandler()
35 sa.sa_sigaction = handler; in sethandler()
A Dsigtrap_loop.c20 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 Dleapcrash.c51 void handler(int unused) in handler() function
67 signal(SIGINT, handler); in main()
68 signal(SIGKILL, handler); in main()
A Dleap-a-day.c124 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 Dtm-sigreturn.c27 void handler(int sig) in handler() function
62 sa.sa_handler = handler; in tm_sigreturn()
/tools/testing/selftests/filesystems/
A Ddnotify_test.c11 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 Duserfaultfd_util.h21 uffd_handler_t handler; member
38 uffd_handler_t handler);
/tools/perf/util/scripting-engines/
A Dtrace-event-python.c135 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 Dtrace-event-perl.c349 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 Dperf-script-perl.txt26 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 Dperf-script-python.txt109 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 Dsigreturn.c42 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 Dtrace.c54 if (!event->handler) in collect_registered_events()
57 event->handler(s, record, event, context); in collect_registered_events()
/tools/arch/x86/include/asm/
A Dasm.h127 # 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 Duserfaultfd_util.c88 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 Dtest_perf_link.c10 int handler(struct pt_regs *ctx) in handler() function
A Dtest_perf_skip.c9 int handler(struct bpf_perf_event_data *data) in handler() function
A Dtest_snprintf_single.c11 int handler(const void *ctx) in handler() function
A Dtest_ksyms_btf_null_check.c12 int handler(const void *ctx) in handler() function
A Dtest_ksyms.c21 int handler(const void *ctx) in handler() function
A Dtest_core_read_macros.c31 int handler(void *ctx) in handler() function
/tools/testing/selftests/net/netfilter/
A Dconnect_close.c24 static void handler(int sig) in handler() function
32 .sa_handler = handler, in set_timeout()
/tools/testing/selftests/kvm/include/riscv/
A Dprocessor.h126 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 Dtest.c77 static void handler(int n, siginfo_t *si __always_unused, in handler() function
206 sa.sa_handler = (sighandler_t)(void *)handler; in start()

Completed in 33 milliseconds

123