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


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