]> git.baikalelectronics.ru Git - kernel.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)
commitbd7d22af4487adcc9f2f569402dc004d61193922
tree487553ef03d65aa6821c2ea7685c5c5e1d430786
parenta9fd0c62771c9a6de440aabc0921dd3e2d2a0c02
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]