This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
src/runtime/staprun ChangeLog ctl.c mainloop.c ...
- From: hunt at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 8 May 2007 20:38:11 -0000
- Subject: src/runtime/staprun ChangeLog ctl.c mainloop.c ...
CVSROOT: /cvs/systemtap
Module name: src
Changes by: hunt@sourceware.org 2007-05-08 20:38:11
Modified files:
runtime/staprun: ChangeLog ctl.c mainloop.c relay.c relay_old.c
staprun.c staprun.h
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/ChangeLog.diff?cvsroot=systemtap&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/ctl.c.diff?cvsroot=systemtap&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/mainloop.c.diff?cvsroot=systemtap&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/relay.c.diff?cvsroot=systemtap&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/relay_old.c.diff?cvsroot=systemtap&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/staprun.c.diff?cvsroot=systemtap&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/staprun.h.diff?cvsroot=systemtap&r1=1.5&r2=1.6