public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/5672] New: stap output same probepoint name when using wildcard
@ 2008-01-25 18:03 mhiramat at redhat dot com
  2008-01-25 18:05 ` [Bug translator/5672] " mhiramat at redhat dot com
  2008-01-25 18:23 ` fche at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: mhiramat at redhat dot com @ 2008-01-25 18:03 UTC (permalink / raw)
  To: systemtap

When I ran below command on fc7(2.6.23.12-52.fc7) with latest systemtap;

$ stap -e 'probe kernel.function("netlink_seq*"){}' -p2

I got odd output.
---
# probes
kernel.function("netlink_seq_open@net/netlink/af_netlink.c:1817") /* pc=0x1cc379
*/ /* <- kernel.function("netlink_seq_open@net/netlink/af_netlink.c:1817") */
kernel.function("netlink_seq_open@net/netlink/af_netlink.c:1817") /* pc=0x1cc439
*/ /* <- kernel.function("netlink_seq_open@net/netlink/af_netlink.c:1817") */
kernel.function("netlink_seq_open@net/netlink/af_netlink.c:1817") /* pc=0x1cc4b5
*/ /* <- kernel.function("netlink_seq_open@net/netlink/af_netlink.c:1817") */
kernel.function("netlink_seq_open@net/netlink/af_netlink.c:1817") /* pc=0x1cc4bd
*/ /* <- kernel.function("netlink_seq_open@net/netlink/af_netlink.c:1817") */
kernel.function("netlink_seq_open@net/netlink/af_netlink.c:1817") /* pc=0x1cc53e
*/ /* <- kernel.function("netlink_seq_open@net/netlink/af_netlink.c:1817") */
kernel.function("netlink_seq_open@net/netlink/af_netlink.c:1817") /* pc=0x1cc5b5
*/ /* <- kernel.function("netlink_seq_open@net/netlink/af_netlink.c:1817") */
---

All probe point name are same "netlink_seq_open@net/netlink/af_netlink.c:1817",
but pc are different.

-- 
           Summary: stap output same probepoint name when using wildcard
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: mhiramat at redhat dot com


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug translator/5672] stap output same probepoint name when using wildcard
  2008-01-25 18:03 [Bug translator/5672] New: stap output same probepoint name when using wildcard mhiramat at redhat dot com
@ 2008-01-25 18:05 ` mhiramat at redhat dot com
  2008-01-25 18:23 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: mhiramat at redhat dot com @ 2008-01-25 18:05 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mhiramat at redhat dot com  2008-01-25 18:04 -------
Created an attachment (id=2216)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2216&action=view)
Detailed output of this bug.

This is the output of below command.
$ stap -e 'probe kernel.function("netlink_seq*"){}'  -vvv -p2

-- 


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug translator/5672] stap output same probepoint name when using wildcard
  2008-01-25 18:03 [Bug translator/5672] New: stap output same probepoint name when using wildcard mhiramat at redhat dot com
  2008-01-25 18:05 ` [Bug translator/5672] " mhiramat at redhat dot com
@ 2008-01-25 18:23 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2008-01-25 18:23 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-01-25 18:22 -------
The problem seems to be in the recreation of the synthetic probe point.
Increased verbosity runs indicate that probes are being set on different
functions.  I probably introduced this regression while tweaking the
conditional-probe logic.

./stap -v -e 'probe kernel.function("netlink_seq*") {}' -v -p2
[...]
probe netlink_seq_socket_idx@net/netlink/af_netlink.c:1710 kernel section=.text
pc=0xffffffff81216590
probe netlink_seq_next@net/netlink/af_netlink.c:1741 kernel section=.text
pc=0xffffffff812165fd
probe netlink_seq_show@net/netlink/af_netlink.c:1784 kernel section=.text
pc=0xffffffff8121667f
probe netlink_seq_stop@net/netlink/af_netlink.c:1778 kernel section=.text
pc=0xffffffff812166fc
probe netlink_seq_start@net/netlink/af_netlink.c:1735 kernel section=.text
pc=0xffffffff81216708
probe netlink_seq_open@net/netlink/af_netlink.c:1817 kernel section=.text
pc=0xffffffff81216785


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |fche at redhat dot com
                   |redhat dot com              |
             Status|NEW                         |ASSIGNED


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-01-25 18:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-25 18:03 [Bug translator/5672] New: stap output same probepoint name when using wildcard mhiramat at redhat dot com
2008-01-25 18:05 ` [Bug translator/5672] " mhiramat at redhat dot com
2008-01-25 18:23 ` fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).