This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/4521] New: conditional probes should not look up parameters
- From: "pmmccorm at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 17 May 2007 21:41:55 -0000
- Subject: [Bug runtime/4521] New: conditional probes should not look up parameters
- Reply-to: sourceware-bugzilla at sourceware dot org
>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.