From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5645 invoked by alias); 8 May 2007 20:38:12 -0000 Received: (qmail 5629 invoked by uid 9163); 8 May 2007 20:38:11 -0000 Date: Tue, 08 May 2007 20:38:00 -0000 Message-ID: <20070508203811.5627.qmail@sourceware.org> From: hunt@sourceware.org To: systemtap-cvs@sourceware.org Subject: src/runtime/staprun ChangeLog ctl.c mainloop.c ... Mailing-List: contact systemtap-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sourceware.org List-Archive: X-SW-Source: 2007-q2/txt/msg00081.txt.bz2 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 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