]> sourceware.org Git - systemtap.git/commit
2007-05-08 Martin Hunt <hunt@redhat.com>
authorhunt <hunt>
Tue, 8 May 2007 20:38:10 +0000 (20:38 +0000)
committerhunt <hunt>
Tue, 8 May 2007 20:38:10 +0000 (20:38 +0000)
commit83c5b5febc674ae0810e8dfde55af1d91a2b0b80
tree21082fd490422bf6131401d0fa496ac70b3902e2
parent28b44d3c0faedb2f8453570311f21ff255df46dd
2007-05-08  Martin Hunt  <hunt@redhat.com>

Signal handler cleanup.
* mainloop.c (fatal_handler): New. Cleanly handle
unexpected fatal signals.
(setup_main_signals): New. Set signals once mainloop
is entered.
(setup_signals): New. Block certain signals during initialization.
Set handler for fatal signals.
* relay.c (reader_thread): Use ppoll(). Terminate on
SIGUSR2 after reading any remaining data.
(close_relayfs): Remove sleep hack. Send SIGUSR2 to all threads.

Runtime debug messages.
* staprun.h: Change dbug() to accept a debuglevel and
enable it.
* *.c: Modify dbug() calls.
runtime/staprun/ChangeLog
runtime/staprun/ctl.c
runtime/staprun/mainloop.c
runtime/staprun/relay.c
runtime/staprun/relay_old.c
runtime/staprun/staprun.c
runtime/staprun/staprun.h
This page took 0.027627 seconds and 5 git commands to generate.