]> sourceware.org Git - systemtap.git/commit - tapsets.cxx
stapdyn: Excise the hard-coded STAPDYN flag
authorJosh Stone <jistone@redhat.com>
Fri, 11 May 2012 23:05:38 +0000 (16:05 -0700)
committerJosh Stone <jistone@redhat.com>
Fri, 11 May 2012 23:05:38 +0000 (16:05 -0700)
commit4441e344f66b06ea3940c94fd13ba0f0aefe3109
tree59c6619ac70084ec67572f205d2622291d34c647
parent138bbe90a2aa9094a625fc277c1f9799da91b421
stapdyn: Excise the hard-coded STAPDYN flag

This introduces a new --runtime=dyninst option to select this mode
dynamically.  All the places that had compiled #ifdef STAPDYN checks are
now toggled with a session variable based on this option.

A few places in runtime/ and translator-generated code are now using
__KERNEL__ to differentiate modes when necessary.
13 files changed:
buildrun.cxx
cache.cxx
cmdline.cxx
cmdline.h
hash.cxx
main.cxx
runtime/dyninst/runtime.h
runtime/loc2c-runtime.h
session.cxx
session.h
stapdyn/TODO
tapsets.cxx
translate.cxx
This page took 0.027357 seconds and 5 git commands to generate.