Messages in this thread | | | Date | Mon, 23 Aug 2010 20:53:06 -0700 (PDT) | Subject | Re: [PATCH v4 4/5] skb: add tracepoints to freeing skb | From | David Miller <> |
| |
From: Koki Sanagi <sanagi.koki@jp.fujitsu.com> Date: Mon, 23 Aug 2010 18:46:12 +0900
> This patch adds tracepoint to consume_skb and add trace_kfree_skb before > __kfree_skb in skb_free_datagram_locked and net_tx_action. > Combinating with tracepoint on dev_hard_start_xmit, we can check how long it > takes to free transmited packets. And using it, we can calculate how many > packets driver had at that time. It is useful when a drop of transmited packet > is a problem. > > sshd-6828 [000] 112689.258154: consume_skb: skbaddr=f2d99bb8 > > Signed-off-by: Koki Sanagi <sanagi.koki@jp.fujitsu.com>
Acked-by: David S. Miller <davem@davemloft.net>
| |