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 translator/10044] New: function probes with line numbers are ignoring labels


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.


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