summaryrefslogtreecommitdiff
path: root/tools/perf/util/sigchain.h
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2009-06-19 02:20:55 +0400
committerJames Morris <jmorris@namei.org>2009-06-19 02:20:55 +0400
commitd905163c5b23f6d8511971e06081a1b525e8a0bd (patch)
treef76918c1be802ec068d37763466f5518efdb690e /tools/perf/util/sigchain.h
parent44c2d9bdd7022ca7d240d5adc009296fc1c6ce08 (diff)
parent0732f87761dbe417cb6e084b712d07e879e876ef (diff)
downloadlinux-d905163c5b23f6d8511971e06081a1b525e8a0bd.tar.xz
Merge branch 'master' into next
Diffstat (limited to 'tools/perf/util/sigchain.h')
-rw-r--r--tools/perf/util/sigchain.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/perf/util/sigchain.h b/tools/perf/util/sigchain.h
new file mode 100644
index 000000000000..618083bce0c6
--- /dev/null
+++ b/tools/perf/util/sigchain.h
@@ -0,0 +1,11 @@
+#ifndef SIGCHAIN_H
+#define SIGCHAIN_H
+
+typedef void (*sigchain_fun)(int);
+
+int sigchain_push(int sig, sigchain_fun f);
+int sigchain_pop(int sig);
+
+void sigchain_push_common(sigchain_fun f);
+
+#endif /* SIGCHAIN_H */