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 testsuite/18577] on rhel7, listing_mode_sanity.exp always gets a failure when doing 'stap -l **'


https://sourceware.org/bugzilla/show_bug.cgi?id=18577

Josh Stone <jistone at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jistone at redhat dot com

--- Comment #1 from Josh Stone <jistone at redhat dot com> ---
(In reply to David Smith from comment #0)
> ====
> probe netdev.receive
> 	=  kernel.function("netif_receive_skb")
> ====
[...]
> I wouldn't have expected to see netif_receive_skb() in the 'stap -l **'
> output at all, and certainly not all its variants.

The '**' will end up giving you 'netdev.receive.**' too, which is why you're
seeing all these .call/.return/.callee suffixes.

I agree it's not a great way they're listed though.  On F22 I see:

$ stap -l 'netdev.receive**'
kernel.function("netif_receive_skb@net/core/dev.c:3834").call
kernel.function("netif_receive_skb@net/core/dev.c:3834").exported
kernel.function("netif_receive_skb@net/core/dev.c:3834").return
netdev.receive

Ideally those should look like 'netdev.receive.call' etc.  It's tricky to
reconcile though.  If someone wrote 'netdev.receive.callee("skb*")' then only
the lower-level dwarf processing knows how to expand that wildcard, but that
part only deals with "kernel.function.callee" and doesn't know how to leave the
alias intact.

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

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