/tools/testing/selftests/x86/ |
D | vdso_restorer.c | 27 void *handler; member 61 sa.handler = handler_with_siginfo; in main() 82 sa.handler = handler_without_siginfo; in main()
|
D | syscall_nt.c | 21 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() 26 sa.sa_sigaction = handler; in sethandler()
|
D | ioperm.c | 25 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() 30 sa.sa_sigaction = handler; in sethandler()
|
D | syscall_arg_fault.c | 23 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() 28 sa.sa_sigaction = handler; in sethandler()
|
D | unwind_vdso.c | 46 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() 51 sa.sa_sigaction = handler; in sethandler()
|
D | sysret_rip.c | 42 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() 47 sa.sa_sigaction = handler; in sethandler()
|
D | single_step_syscall.c | 36 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() 41 sa.sa_sigaction = handler; in sethandler()
|
D | iopl.c | 25 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() 30 sa.sa_sigaction = handler; in sethandler()
|
D | mov_ss_trap.c | 98 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() 103 sa.sa_sigaction = handler; in sethandler()
|
/tools/testing/selftests/timers/ |
D | leapcrash.c | 51 void handler(int unused) in handler() function 67 signal(SIGINT, handler); in main() 68 signal(SIGKILL, handler); in main()
|
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/lib/traceevent/Documentation/ |
D | libtraceevent-reg_event_handler.txt | 28 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 …]
|
D | libtraceevent-handle.txt | 30 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.
|
D | libtraceevent-file_endian.txt | 7 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.
|
D | libtraceevent-host_endian.txt | 32 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/ |
D | tm-sigreturn.c | 27 void handler(int sig) in handler() function 61 sa.sa_handler = handler; in tm_sigreturn()
|
/tools/testing/selftests/filesystems/ |
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/perf/util/scripting-engines/ |
D | trace-event-python.c | 145 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 …]
|
D | trace-event-perl.c | 345 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/ |
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 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 …]
|
D | perf-script-python.txt | 109 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/ |
D | test_ksyms_btf_null_check.c | 12 int handler(const void *ctx) in handler() function
|
D | test_ksyms.c | 21 int handler(const void *ctx) in handler() function
|
D | test_skeleton.c | 42 int handler(const void *ctx) in handler() function
|
D | test_ksyms_btf.c | 23 int handler(const void *ctx) in handler() function
|