This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/4521] conditional probes should not look up parameters
- From: "joshua dot i dot stone at intel dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 17 May 2007 22:13:48 -0000
- Subject: [Bug runtime/4521] conditional probes should not look up parameters
- References: <20070517224155.4521.pmmccorm@us.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From joshua dot i dot stone at intel dot com 2007-05-17 23:13 -------
vm.mmap is defined thus:
probe vm.mmap = kernel.function("do_mmap"), kernel.function("do_mmap2")? {
address = $addr
length = $len
}
So if "do_mmap" is found, then your conditional flag is satisfied. Add "-vv" to
your command-line, and you should see that it correctly resolves "do_mmap". Now
you have a valid probe point, so it tries to fill in the body, where it fails
due to bug #1155.
Try a truly non-existent probepoint like:
probe kernel.function("foobar") ? { printf("%d\n", $badparam) }
... and you'll get the correct "no probes found" error, without looking up the
parameter.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
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.