This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH v3 0/3] PR12331: Introduce stap options --sysroot and --sysenv


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]