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 runtime/4521] conditional probes should not look up parameters


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


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