From: Satoru Moriya Date: Fri, 17 Jun 2011 12:00:03 +0000 (+0000) Subject: core: add tracepoints for queueing skb to rcvbuf X-Git-Tag: v3.1-rc1~316^2~374 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3847ce32aea9fdf56022de132000e8cf139042eb;p=pandora-kernel.git core: add tracepoints for queueing skb to rcvbuf This patch adds 2 tracepoints to get a status of a socket receive queue and related parameter. One tracepoint is added to sock_queue_rcv_skb. It records rcvbuf size and its usage. The other tracepoint is added to __sk_mem_schedule and it records limitations of memory for sockets and current usage. By using these tracepoints we're able to know detailed reason why kernel drop the packet. Signed-off-by: Satoru Moriya Acked-by: Neil Horman Signed-off-by: David S. Miller --- Reading git-diff-tree failed