March 28, 2017
1:31 p.m.
Hello, On Tuesday 28 March 2017 01:45 PM, Shiyao Ma wrote:
Hi, I saw this function invocation, trace_kfree_skb(skb, __builtin_return_address(0));
so I grepped the source for "trace_kfree_skb", but I found no where it's defined.
Where's the definition for it?
It is a tracepoint call. Tracepoints are defined using DECLARE_TRACE or TRACE_EVENT macros [1]. 'git grep "TRACE.*kfree_skb"' gives the desired definition. [1]: https://www.kernel.org/doc/Documentation/trace/tracepoints.txt Regards, rawcoder