aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/debug.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-19 16:21:59 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-24 12:33:31 -0300
commit8c2b7cac78e17886e8089389a570a290c9b5ca67 (patch)
tree94302f8f9f6dcdf61e2df74ef9f9f75f0d903f71 /tools/perf/util/debug.h
parentperf kvm: Make function only used by 'perf kvm' static (diff)
downloadlinux-dev-8c2b7cac78e17886e8089389a570a290c9b5ca67.tar.xz
linux-dev-8c2b7cac78e17886e8089389a570a290c9b5ca67.zip
perf debug: Move dump_stack() and sighandler_dump_stack() to debug.h
Two more out of util.h. Link: http://lkml.kernel.org/n/tip-polkuxm1cpr06lbgue5pyqum@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/debug.h')
-rw-r--r--tools/perf/util/debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/util/debug.h b/tools/perf/util/debug.h
index 98832f5531d3..8a23ea1a71c7 100644
--- a/tools/perf/util/debug.h
+++ b/tools/perf/util/debug.h
@@ -56,4 +56,7 @@ int perf_debug_option(const char *str);
void perf_debug_setup(void);
int perf_quiet_option(void);
+void dump_stack(void);
+void sighandler_dump_stack(int sig);
+
#endif /* __PERF_DEBUG_H */