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 tapsets/13501] Some arguments for 'stap -L "*, *.*, *.*.*" ' probe points not found


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.


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