On Tue, Aug 24, 2021 at 7:52 AM 小严 [off-list ref] wrote:
The main reason is to distinguish the reason for each tcp deletion, __kfree_skb is to release the skb, and it is used in more places than just the skb, so it is impossible to trace the reason for the tcp deletion.
You can filter them out by 'location', which is the second parameter of
the tracepoint. Please check out the filter syntax for tracepoint here:
https://www.kernel.org/doc/html/v4.18/trace/events.html
Thanks.