Home
last modified time | relevance | path

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

123

/tools/testing/selftests/x86/
Dvdso_restorer.c27 void *handler; member
61 sa.handler = handler_with_siginfo; in main()
82 sa.handler = handler_without_siginfo; in main()
Dsyscall_nt.c21 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler()
26 sa.sa_sigaction = handler; in sethandler()
Dioperm.c25 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler()
30 sa.sa_sigaction = handler; in sethandler()
Dsyscall_arg_fault.c23 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler()
28 sa.sa_sigaction = handler; in sethandler()
Dunwind_vdso.c46 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler()
51 sa.sa_sigaction = handler; in sethandler()
Dsysret_rip.c42 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler()
47 sa.sa_sigaction = handler; in sethandler()
Dsingle_step_syscall.c36 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler()
41 sa.sa_sigaction = handler; in sethandler()
Diopl.c25 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler()
30 sa.sa_sigaction = handler; in sethandler()
Dmov_ss_trap.c98 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler()
103 sa.sa_sigaction = handler; in sethandler()
/tools/testing/selftests/timers/
Dleapcrash.c51 void handler(int unused) in handler() function
67 signal(SIGINT, handler); in main()
68 signal(SIGKILL, handler); in main()
Dleap-a-day.c124 void handler(int unused) in handler() function
221 signal(SIGINT, handler); in main()
222 signal(SIGKILL, handler); in main()
/tools/lib/traceevent/Documentation/
Dlibtraceevent-reg_event_handler.txt28 The _tep_register_event_handler()_ function registers a handler function,
36 to the context data, which will be passed to the _func_. If a handler function
42 The _tep_unregister_event_handler()_ function unregisters the handler function,
48 The _tep_event_handler_func_ is the type of the custom event handler
52 _context_ is custom context, set when the custom event handler is registered.
57 if the new handler is registered successfully or
58 _TEP_REGISTER_SUCCESS_OVERWRITE_ if an existing handler is overwritten.
102 printf("Failed to register handler for hrtimer_expire_entry: %s\n", buf);
106 printf ("Registered handler for hrtimer_expire_entry\n");
109 printf ("Overwrote handler for hrtimer_expire_entry\n");
[all …]
Dlibtraceevent-handle.txt30 The _tep_free()_ function will decrement the reference of the _tep_ handler.
31 When there is no more references, then it will free the handler, as well
35 The _tep_ref()_ function adds a reference to the _tep_ handler.
37 The _tep_unref()_ function removes a reference from the _tep_ handler. When
41 The _tep_ref_get()_ functions gets the current references of the _tep_ handler.
Dlibtraceevent-file_endian.txt7 raw data being accessed by the tep handler.
27 being accessed by the tep handler. The _tep_ argument is trace event parser
31 accessed by the tep handler. The _tep_ argument is trace event parser context.
Dlibtraceevent-host_endian.txt32 machine, saved in the _tep_ handler. The _tep_ argument is the trace event
37 machine in the _tep_ handler. The _tep_ argument is trace event parser context.
51 local machine, saved in the _tep_ handler, is big endian, or false otherwise.
/tools/testing/selftests/powerpc/tm/
Dtm-sigreturn.c27 void handler(int sig) in handler() function
61 sa.sa_handler = handler; in tm_sigreturn()
/tools/testing/selftests/filesystems/
Ddnotify_test.c11 static void handler(int sig, siginfo_t *si, void *data) in handler() function
21 act.sa_sigaction = handler; in main()
/tools/perf/util/scripting-engines/
Dtrace-event-python.c145 PyObject *handler; in get_handler() local
147 handler = PyDict_GetItemString(main_dict, handler_name); in get_handler()
148 if (handler && !PyCallable_Check(handler)) in get_handler()
150 return handler; in get_handler()
153 static int get_argument_count(PyObject *handler) in get_argument_count() argument
161 PyObject *code_obj = PyObject_GetAttrString(handler, in get_argument_count()
165 code_obj = PyObject_GetAttrString(handler, in get_argument_count()
181 static void call_object(PyObject *handler, PyObject *args, const char *die_msg) in call_object() argument
185 retval = PyObject_CallObject(handler, args); in call_object()
193 PyObject *handler; in try_call_object() local
[all …]
Dtrace-event-perl.c345 static char handler[256]; in perl_process_tracepoint() local
366 sprintf(handler, "%s::%s", event->system, event->name); in perl_process_tracepoint()
369 define_event_symbols(event, handler, event->print_fmt.args); in perl_process_tracepoint()
381 XPUSHs(sv_2mortal(newSVpv(handler, 0))); in perl_process_tracepoint()
414 if (get_cv(handler, 0)) in perl_process_tracepoint()
415 call_pv(handler, G_SCALAR); in perl_process_tracepoint()
417 XPUSHs(sv_2mortal(newSVpv(handler, 0))); in perl_process_tracepoint()
/tools/perf/Documentation/
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
104 counterparts as handler function arguments of the same name, as can be
126 The rest of the script can contain handler functions and support
129 Aside from the event handler functions discussed above, every script
[all …]
Dperf-script-python.txt109 callback handler for each event type found in the perf.data trace
122 # The common_* event handler fields are the most useful fields common to
124 # in the format files. Those fields not available as handler params can
168 Following those are the 'event handler' functions generated one for
169 every event in the 'perf record' output. The handler functions take
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
234 store that information; every time the sys_enter() handler is called,
258 Putting that code into the raw_syscalls__sys_enter() handler, we
269 handler called at the end of script processing.
[all …]
/tools/testing/selftests/bpf/progs/
Dtest_ksyms_btf_null_check.c12 int handler(const void *ctx) in handler() function
Dtest_ksyms.c21 int handler(const void *ctx) in handler() function
Dtest_skeleton.c42 int handler(const void *ctx) in handler() function
Dtest_ksyms_btf.c23 int handler(const void *ctx) in handler() function

123