This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]