diff options
author | Tim Moore <timoore@redhat.com> | 2009-03-04 11:56:45 +0100 |
---|---|---|
committer | Tim Moore <timoore@redhat.com> | 2009-03-04 13:18:55 +0100 |
commit | 8c5905d0b6c8206c5ed971a637077aa8ef5c1b02 (patch) | |
tree | 12e9d4f80aec601b66ec83e06e8b3675ba4a18bd /buildrun.cxx | |
parent | cd1db1dd034141535648a66d9896db6c5e74dd9e (diff) | |
download | systemtap-steved-8c5905d0b6c8206c5ed971a637077aa8ef5c1b02.tar.gz systemtap-steved-8c5905d0b6c8206c5ed971a637077aa8ef5c1b02.tar.xz systemtap-steved-8c5905d0b6c8206c5ed971a637077aa8ef5c1b02.zip |
stap autoconf test for kernel stack trace support
* buildrun.cxx (compile_pass): Add autoconf line for stack trace
test, which defines STAPCONF_KERNEL_STACKTRACE.
* runtime/autoconf-save-stack-trace.c: New file.
* runtime/stack.c : Use STAPCONF_KERNEL_STACKTRACE instead of
tests for kernel configuration and versions.
* runtime/stack-i386.c : ditto
* runtime/stack-x86_64.c : ditto
Diffstat (limited to 'buildrun.cxx')
-rw-r--r-- | buildrun.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/buildrun.cxx b/buildrun.cxx index fe060236..973343cd 100644 --- a/buildrun.cxx +++ b/buildrun.cxx @@ -153,6 +153,8 @@ compile_pass (systemtap_session& s) * this autoconf. */ output_autoconf(s, o, "autoconf-probe-kernel.c", "STAPCONF_PROBE_KERNEL", NULL); #endif + output_autoconf(s, o, "autoconf-save-stack-trace.c", + "STAPCONF_KERNEL_STACKTRACE", NULL); o << module_cflags << " += -include $(STAPCONF_HEADER)" << endl; |