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: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 19 Apr 2009 16:14:42 -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 fche at redhat dot com 2009-04-19 16:14 -------
By studying the placement of the tracepoint, one can probably
identify a nearly-equivalent kprobe as a fallback, which could
be listed in the .stp file thusly:
probe kernel.trace("kfree_skb")!,
kernel.function("dev_kfree_skb" /* ? */) { ... }
If parameters are needed, one'd have to split this up into
tapset/alias constructs, like this:
probe kfree_skb_1 = kernel.trace("kfree_skb") { it=$arg1 ... }
probe kfree_skb_2 = kernel.function("dev_kfree_skb") { it=$foo ... }
probe kfree_skb_1 ! , kfree_skb_2 { println (it) }
--
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.