This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[PATCH v3 0/3] PR12331: Introduce stap options --sysroot and --sysenv
- From: Wade Farnsworth <wade_farnsworth at mentor dot com>
- To: <systemtap at sourceware dot org>, <jistone at redhat dot com>
- Date: Fri, 2 Mar 2012 07:47:05 -0700
- Subject: [PATCH v3 0/3] PR12331: Introduce stap options --sysroot and --sysenv
- References: <4F0AFEEE.30909@mentor.com> <4F340FD7.9010205@mentor.com>
This patchset introduces --sysroot and --sysenv options for stap, which
improve functionality in environments where the compiling system differs
from the one running the probes.
See Patch 1/3's description for more details on what has been implemented.
v2: Implemented several improvements per Josh Stone's comments.
v3: Further improvements per Josh Stone. Include documentation and test cases
for the new options.
Wade Farnsworth (3):
PR12331: Introduce stap options --sysroot and --sysenv
PR12331: Document --sysroot and --sysenv
PR12331: Add testcase for --sysroot and --sysenv
NEWS | 3 +
cmdline.cxx | 2 +
cmdline.h | 2 +
dwflpp.cxx | 4 +-
hash.cxx | 3 +-
main.cxx | 9 ++++
session.cxx | 62 +++++++++++++++++++++++++++
session.h | 3 +
setupdwfl.cxx | 37 ++++++++++++++--
setupdwfl.h | 1 +
stap.1 | 11 +++++
tapset-itrace.cxx | 3 +-
tapset-utrace.cxx | 3 +-
tapsets.cxx | 54 +++++++++++++++++------
tapsets.h | 1 +
testsuite/systemtap.base/sysroot_sysenv.exp | 15 ++++++
testsuite/systemtap.base/sysroot_sysenv.stp | 3 +
translate.cxx | 4 +-
util.cxx | 26 +++++++++---
util.h | 3 +
20 files changed, 216 insertions(+), 33 deletions(-)
create mode 100644 testsuite/systemtap.base/sysroot_sysenv.exp
create mode 100644 testsuite/systemtap.base/sysroot_sysenv.stp