[Bug testsuite/10084] systemtap.examples/network/dropwatch fails on kernels without kfree_skb tracepoint
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Sun Apr 19 16:15:00 GMT 2009
------- 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.
More information about the Systemtap
mailing list