]> sourceware.org Git - systemtap.git/commit
Replace walk_stack field version guard with autoconf test.
authorMark Wielaard <mjw@redhat.com>
Thu, 3 Jun 2010 09:26:17 +0000 (11:26 +0200)
committerMark Wielaard <mjw@redhat.com>
Thu, 3 Jun 2010 09:36:41 +0000 (11:36 +0200)
commitc265cd259a82542abf290a6aeb058056d6c18b73
tree5ea5e9684838252093091c472592945a52e89b68
parent5c29163ab41614a825594e40cfcd1d35bc452cab
Replace walk_stack field version guard with autoconf test.

The test for whether or not to assign print_context_stack to the
walk_stack stacktrace_ops field depended on the kernel version.
Replace with a proper runtime/autoconf test to make sure the field
always gets assigned when available.

* buildrun.cxx (compile_pass): Add output for STAP_CONF_WALK_STACK.
* runtime/autoconf-walk-stack.c: New test.
* runtime/stack.c (print_stack_ops): Assign walk_stack field
  print_context_stack depending on STAP_CONF_WALK_STACK.
buildrun.cxx
runtime/autoconf-walk-stack.c [new file with mode: 0644]
runtime/stack.c
This page took 0.025889 seconds and 5 git commands to generate.