]> git.baikalelectronics.ru Git - kernel.git/commit
net: Add net_dev_start_xmit trace event, exposing more skb fields
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 10 Jan 2014 22:17:03 +0000 (22:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jan 2014 22:46:02 +0000 (14:46 -0800)
commit1ab2c643949d36b81c794a801fed23a64c41e7aa
tree0544248bbd3fc041c891727d1f6582bb036683a4
parent6512c0f1bc62e46a467712761d8281215801b579
net: Add net_dev_start_xmit trace event, exposing more skb fields

The existing net/net_dev_xmit trace event provides little information
about the skb that has been passed to the driver, and it is not
simple to add more since the skb may already have been freed at
the point the event is emitted.

Add a separate trace event before the skb is passed to the driver,
including most fields that are likely to be interesting for debugging
driver datapath behaviour.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/trace/events/net.h
net/core/dev.c