This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug testsuite/10084] systemtap.examples/network/dropwatch fails on kernels without kfree_skb tracepoint
- From: "wenji dot huang at oracle dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 9 Jul 2009 07:25:15 -0000
- Subject: [Bug testsuite/10084] systemtap.examples/network/dropwatch fails on kernels without kfree_skb tracepoint
- References: <20090419124804.10084.mjw@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.