Home
last modified time | relevance | path

Searched refs:sig (Results 1 – 25 of 26) sorted by relevance

12

/tools/perf/util/
Dsigchain.c13 static void check_signum(int sig) in check_signum() argument
15 if (sig < 1 || sig >= SIGCHAIN_MAX_SIGNALS) in check_signum()
16 die("BUG: signal out of range: %d", sig); in check_signum()
19 static int sigchain_push(int sig, sigchain_fun f) in sigchain_push() argument
21 struct sigchain_signal *s = signals + sig; in sigchain_push()
22 check_signum(sig); in sigchain_push()
25 s->old[s->n] = signal(sig, f); in sigchain_push()
32 int sigchain_pop(int sig) in sigchain_pop() argument
34 struct sigchain_signal *s = signals + sig; in sigchain_pop()
35 check_signum(sig); in sigchain_pop()
[all …]
Dsigchain.h6 int sigchain_pop(int sig);
/tools/perf/ui/tui/
Dsetup.c31 static void ui__sigwinch(int sig __maybe_unused) in ui__sigwinch()
91 static void ui__signal(int sig) in ui__signal() argument
94 psignal(sig, "perf"); in ui__signal()
/tools/testing/selftests/ptrace/
Dpeeksiginfo.c14 static int sys_rt_sigqueueinfo(pid_t tgid, int sig, siginfo_t *uinfo) in sys_rt_sigqueueinfo() argument
16 return syscall(SYS_rt_sigqueueinfo, tgid, sig, uinfo); in sys_rt_sigqueueinfo()
20 int sig, siginfo_t *uinfo) in sys_rt_tgsigqueueinfo() argument
22 return syscall(SYS_rt_tgsigqueueinfo, tgid, tid, sig, uinfo); in sys_rt_tgsigqueueinfo()
/tools/virtio/virtio-trace/
Dtrace-agent-ctl.c29 static void signal_handler(int sig) in signal_handler() argument
31 global_signal_val = sig; in signal_handler()
/tools/perf/ui/gtk/
Dbrowser.c11 void perf_gtk__signal(int sig) in perf_gtk__signal() argument
14 psignal(sig, "perf"); in perf_gtk__signal()
Dgtk.h40 void perf_gtk__signal(int sig);
/tools/thermal/tmon/
Dtmon.c108 static void tmon_sig_handler(int sig) in tmon_sig_handler() argument
110 syslog(LOG_INFO, "TMON caught signal %d\n", sig); in tmon_sig_handler()
112 switch (sig) { in tmon_sig_handler()
Dtmon.h170 extern void resize_handler(int sig);
Dtui.c167 void resize_handler(int sig) in resize_handler() argument
179 sig, maxy, maxx); in resize_handler()
/tools/perf/tests/
Dtask-exit.c12 static void sig_handler(int sig __maybe_unused) in sig_handler()
Drdpmc.c82 static void segfault_handler(int sig __maybe_unused, in segfault_handler()
/tools/perf/bench/
Dfutex-wake.c101 static void toggle_done(int sig __maybe_unused, in toggle_done()
Dfutex-requeue.c100 static void toggle_done(int sig __maybe_unused, in toggle_done()
Dfutex-hash.c89 static void toggle_done(int sig __maybe_unused, in toggle_done()
/tools/testing/selftests/memfd/
Dfuse_test.c165 int sig, r; in sealing_thread_fn() local
Dmemfd_test.c496 int sig; in idle_thread_fn() local
501 sigwait(&set, &sig); in idle_thread_fn()
/tools/perf/
Dbuiltin-record.c117 static void sig_handler(int sig) in sig_handler() argument
119 if (sig == SIGCHLD) in sig_handler()
122 signr = sig; in sig_handler()
Dbuiltin-inject.c322 static void sig_handler(int sig __maybe_unused) in sig_handler()
Dbuiltin-trace.c834 int sig = arg->val; in syscall_arg__scnprintf_signum() local
836 switch (sig) { in syscall_arg__scnprintf_signum()
880 return scnprintf(bf, size, "%#x", sig); in syscall_arg__scnprintf_signum()
1364 static void sig_handler(int sig) in sig_handler() argument
1367 interrupted = sig == SIGINT; in sig_handler()
Dbuiltin-top.c81 static void perf_top__sig_winch(int sig __maybe_unused, in perf_top__sig_winch()
590 static void display_sig(int sig __maybe_unused) in display_sig()
Dbuiltin-report.c270 static void sig_handler(int sig __maybe_unused) in sig_handler()
Dbuiltin-kvm.c801 static void sig_handler(int sig __maybe_unused) in sig_handler()
/tools/vm/
Dpage-types.c834 static void sigbus_handler(int sig, siginfo_t *info, void *ucontex) in sigbus_handler() argument
836 (void)sig; in sigbus_handler()
/tools/net/
Dbpf_dbg.c1305 static void intr_shell(int sig) in intr_shell() argument

12