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/10084] systemtap.examples/network/dropwatch fails on kernels without kfree_skb tracepoint


------- Additional Comments From wenji dot huang at oracle dot com  2009-07-09 07:25 -------
Created an attachment (id=4046)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4046&action=view)
draft code

The return_addr of patch is almost equivalent to __builtin_return_address(0),
except for calling from some modules. For example in i386 machine, 
typical outputs will have
...
19 packets dropped at location 0xc06a9197
1 packets dropped at location 0xd112a392
...

For 0xc06a9197, return_addr() will return the same number. But 
it can't resolve 0xd112a392, will return 0.  Also the implementation 
of return_addr() doesn't depend on architecture, is to extract number 
from backtrace() string.

-- 


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

------- 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]