]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit07d1543e892b499c10218919c02818ee5a1c7e78
tree34d5de250013a76f8949ddf733cebd9385e0379d
parent1ab2c643949d36b81c794a801fed23a64c41e7aa
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