diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-19 16:21:59 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-24 12:33:31 -0300 |
commit | 8c2b7cac78e17886e8089389a570a290c9b5ca67 (patch) | |
tree | 94302f8f9f6dcdf61e2df74ef9f9f75f0d903f71 /tools/perf/util/debug.h | |
parent | bb8c16db43e48f2012c3ae8c7d682f834c5986d9 (diff) | |
download | lwn-8c2b7cac78e17886e8089389a570a290c9b5ca67.tar.gz lwn-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.h | 3 |
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 */ |