This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/13501] Some arguments for 'stap -L "*, *.*, *.*.*" ' probe points not found
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Thu, 15 Dec 2011 16:01:27 +0000
- Subject: [Bug tapsets/13501] Some arguments for 'stap -L "*, *.*, *.*.*" ' probe points not found
- Auto-submitted: auto-generated
- References: <bug-13501-6586@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13501
--- Comment #3 from David Smith <dsmith at redhat dot com> 2011-12-15 16:01:27 UTC ---
The second set of RHEL6 errors comes from the the 'netdev.change_rx_flag' probe
alias:
====
# stap -L 'netdev.change_rx_flag'
semantic error: not accessible at this address (0xffffffff814483dc, dieoffset:
0x3c69de1): identifier '$dev' at
/usr/local/share/systemtap/tapset/networking.stp:159:29
source: dev_name = get_netdev_name($dev)
^
semantic error: not accessible at this address (0xffffffff814483dc, dieoffset:
0x3c69dd8): identifier '$flags' at :160:10
source: flags = $flags
^
semantic error: unresolved type : identifier 'flags' at :160:2
source: flags = $flags
^
netdev.change_rx_flag dev_name:string
====
This happens because the underlying kernel function 'dev_change_rx_flags' is
inlined on RHEL6 and systemtap can't find the arguments:
====
# stap -L 'kernel.function("dev_change_rx_flags").*'
kernel.function("dev_change_rx_flags@net/core/dev.c:3818").inline
====
On f15, systemtap can find the arguments to both the real function call and the
inlined version:
====
stap -L 'kernel.function("dev_change_rx_flags").*'
kernel.function("dev_change_rx_flags@net/core/dev.c:4360").call $dev:struct
net_device* $flags:int
kernel.function("dev_change_rx_flags@net/core/dev.c:4360").return $dev:struct
net_device* $flags:int
====
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.