net: Add trace events for all receive entry points, exposing more skb fields
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 10 Jan 2014 22:17:24 +0000 (22:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jan 2014 22:46:02 +0000 (14:46 -0800)
commitae78dbfa40c629f79c72ab93525508ef49e798b6
tree34d5de250013a76f8949ddf733cebd9385e0379d
parentd87d04a7851f067a06bb10acca8aca62a8cad6f0
net: Add trace events for all receive entry points, exposing more skb fields

The existing net/netif_rx and net/netif_receive_skb trace events
provide little information about the skb, nor do they indicate how it
entered the stack.

Add trace events at entry of each of the exported functions, including
most fields that are likely to be interesting for debugging driver
datapath behaviour.  Split netif_rx() and netif_receive_skb() so that
internal calls are not traced.

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