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 dyninst/15481] New: stapdyn end probes fail with a -c command


http://sourceware.org/bugzilla/show_bug.cgi?id=15481

             Bug #: 15481
           Summary: stapdyn end probes fail with a -c command
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dyninst
        AssignedTo: systemtap@sourceware.org
        ReportedBy: jistone@redhat.com
    Classification: Unclassified


With the new stapdyn transport, no end probes fire at all when there's a target
command given.  First command is good; the second missed 'end':

$ stap -e 'probe begin, end { println(pp()) }' --dyninst
begin
end

$ stap -e 'probe begin, end { println(pp()) }' --dyninst -c true
begin


Timing reports are similarly affected:

$ stap -e 'probe begin, end { println(pp()) }' --dyninst -t
begin
end
----- probe hit report: 
begin, (<input>:1:1), hits: 1, nsecs: 4352min/4352avg/4352max, from: begin,
index: 0
end, (<input>:1:1), hits: 1, nsecs: 481min/481avg/481max, from: begin, index: 1

$ stap -e 'probe begin, end { println(pp()) }' --dyninst -c true -t
begin
ERROR: Couldn't reserve any print buffer space
ERROR: Couldn't reserve any print buffer space
WARNING: Number of errors: 0, skipped probes: 0
WARNING: Skipped due to reentrancy: 1


A git-bisect brought me to commit 8ca891c, when the new transport was added.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


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