This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/11020] New: SIGUSR2 file switching doesn't work with busy script
- From: "mhiramat at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 25 Nov 2009 20:51:26 -0000
- Subject: [Bug runtime/11020] New: SIGUSR2 file switching doesn't work with busy script
- Reply-to: sourceware-bugzilla at sourceware dot org
stapio doesn't handle SIGUSR2 if running script dumps so much data.
e.g.
$ stap -d hoge -F -e 'probe kernel.function("sys_*") {print("hoge")}'
$ killall -USR2 stapio
<switching logs correctly>
$ killall -USR2 stapio
<doesn't switch log anymore>
Because SIGUSR2 is checked only right after ppoll(), but not checked in
read-write inner loop.
--
Summary: SIGUSR2 file switching doesn't work with busy script
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: mhiramat at redhat dot com
OtherBugsDependingO 10907
nThis:
http://sourceware.org/bugzilla/show_bug.cgi?id=11020
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.