]> git.karo-electronics.de Git - linux-beck.git/commit
net: skb ftracer - Add actual ftrace code to kernel (v3)
authorNeil Horman <nhorman@tuxdriver.com>
Thu, 13 Aug 2009 05:23:56 +0000 (05:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Aug 2009 23:43:25 +0000 (16:43 -0700)
commit9ec04da7489d2c9ae01ea6e9b5fa313ccf3d35fb
tree487553ef03d65aa6821c2ea7685c5c5e1d430786
parent5a165657bef7c47e5ff4cd138f7758ef6278e87b
net: skb ftracer - Add actual ftrace code to kernel (v3)

skb allocation / consumption correlator

Add ftracer module to kernel to print out a list that correlates a process id,
an skb it read, and the numa nodes on wich the process was running when it was
read along with the numa node the skbuff was allocated on.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
 Makefile            |    1
 trace.h             |   19 ++++++
 trace_skb_sources.c |  154 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 174 insertions(+)
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/trace/Makefile
kernel/trace/trace.h
kernel/trace/trace_skb_sources.c [new file with mode: 0644]