[Bug runtime/11020] New: SIGUSR2 file switching doesn't work with busy script

mhiramat at redhat dot com sourceware-bugzilla@sourceware.org
Wed Nov 25 20:51:00 GMT 2009


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.



More information about the Systemtap mailing list