]> sourceware.org Git - systemtap.git/commit
Consolidate signal-masking into a utility class
authorJosh Stone <jistone@redhat.com>
Wed, 11 May 2011 00:25:47 +0000 (17:25 -0700)
committerJosh Stone <jistone@redhat.com>
Wed, 11 May 2011 00:46:34 +0000 (17:46 -0700)
commita69b4b55ca447dccbf8593bbdc7b6056b9a39828
treede9848708ec84b25d699d6cbe42c404d1354e271
parent2bce499b40a80d6b9b629f89d277f8cc5cb0f7bd
Consolidate signal-masking into a utility class

* util.h (stap_sigmasker): New, masks our usual signals for the life of
  the stap_sigmasker object.
* remote.cxx (direct_stapsh::direct_stapsh): Use stap_sigmasker while
  spawning the stapsh child process.
  (ssh_remote::connect): Ditto for the ssh process.
  (remote::run): Use stap_sigmasker around the polling loop.
remote.cxx
util.h
This page took 0.0768219999999999 seconds and 5 git commands to generate.