[Bug runtime/4521] New: conditional probes should not look up parameters

pmmccorm at us dot ibm dot com sourceware-bugzilla@sourceware.org
Thu May 17 21:42:00 GMT 2007


>From the mailing list:

The bad news is that if you reference the local variable version of the function's
parameters in your optional probe, it errors out, like this:

# stap -p2 -e 'probe vm.mmap ? { printf("%p %d\n", address, length) }'
semantic error: failed to retrieve location attribute for local 'addr' (dieoffset:
0xbf6524): identifier '$addr' at /usr/local/share/systemtap/tapset/memory.stp:118:15
...

Here it seems like we should be able to discard the probe before trying to look
up its
parameters.

-- 
           Summary: conditional probes should not look up parameters
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: pmmccorm at us dot ibm dot com


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

------- 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