]> sourceware.org Git - systemtap.git/commit
Fixed PR13158 by adding a staprun signal handler so modules don't remain.
authorDavid Smith <dsmith@redhat.com>
Wed, 19 Oct 2011 15:00:45 +0000 (10:00 -0500)
committerDavid Smith <dsmith@redhat.com>
Wed, 19 Oct 2011 15:00:45 +0000 (10:00 -0500)
commitcedf63f3a6bdcdf3196acc8b4e47ffca0e56ce97
treec1d319d4628775eb5de0049b66db797a7ba054c5
parente04e95a488397d0fbf2740c3cfef989b56d7f80a
Fixed PR13158 by adding a staprun signal handler so modules don't remain.

* runtime/staprun/staprun.c (term_signal_handler): New function.
  (setup_term_signals): Ditto.
  (insert_stap_module): Remembers if insert_module() worked.
  (main): Call setup_term_signals().
* testsuite/systemtap.base/rename_module.exp: Made test case more robust
  by waiting on output from all stap scripts.
* testsuite/systemtap.base/pr13158.exp: New testcase.
runtime/staprun/staprun.c
testsuite/systemtap.base/pr13158.exp [new file with mode: 0644]
testsuite/systemtap.base/rename_module.exp
This page took 0.030511 seconds and 5 git commands to generate.