[Bug translator/10044] New: function probes with line numbers are ignoring labels

jistone at redhat dot com sourceware-bugzilla@sourceware.org
Tue Apr 7 19:34:00 GMT 2009


When line numbers are present in the function specification, then any label
component on the probe is being ignored.  Examples:

Good:
  $ stap -l 'kernel.function("do_filp_open@fs/namei.c").label("do_last")'
  kernel.function("do_filp_open@fs/namei.c:1875")
  $ stap -l 'kernel.function("do_filp_open@fs/namei.c").label("foobar")'
  semantic error: no match while resolving probe point
kernel.function("do_filp_open@fs/namei.c").label("foobar")

Bad:
  $ stap -l 'kernel.function("do_filp_open@fs/namei.c:1875").label("do_last")'
  kernel.function("do_filp_open@fs/namei.c:1670")
  $ stap -l 'kernel.function("do_filp_open@fs/namei.c:*").label("foobar")'
  kernel.function("do_filp_open@fs/namei.c:1670")

-- 
           Summary: function probes with line numbers are ignoring labels
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: jistone at redhat dot com


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

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