]> sourceware.org Git - systemtap.git/commit
PR23226: Added ability to run sample scripts with typing whole path
authorJafeer Uddin <juddin@redhat.com>
Thu, 7 Jun 2018 17:41:11 +0000 (13:41 -0400)
committerJafeer Uddin <juddin@redhat.com>
Thu, 7 Jun 2018 17:41:11 +0000 (13:41 -0400)
commitaabcebc837b42385bc8833cf0a57f7016012b010
tree8426978816f465b89bb9b96f22ba516ec2c98d31
parentd24c50ecfcf49e4579f475ac52bafb31850cf523
PR23226: Added ability to run sample scripts with typing whole path

* cmdline.h: Added new command line option '--example'
* cmdline.cxx: Added new command line option '--example'
* session.h: Added new flag 'run_example' to track example option
* session.cxx: Updated constructors to initialize new flag and added
  logic to set run_example flag in parse_cmdline()
* main.cxx: If '--example' is specified then search for script within
  example directory and run it if one hit is found
* man/stap.1.in: Added new entry for '--example' option
* testsuite/buildko/example.stp: New file to test new option
* testsuite/buildok/example.stp: New file to test new option
cmdline.cxx
cmdline.h
main.cxx
man/stap.1.in
session.cxx
session.h
testsuite/buildko/example.stp [new file with mode: 0755]
testsuite/buildok/example.stp [new file with mode: 0755]
This page took 0.027484 seconds and 5 git commands to generate.