[Bug runtime/4521] conditional probes should not look up parameters
joshua dot i dot stone at intel dot com
sourceware-bugzilla@sourceware.org
Thu May 17 22:14:00 GMT 2007
------- 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.
More information about the Systemtap
mailing list