Skip to content

Commit

Permalink
net: skb ftracer - Add config option to enable new ftracer (v3)
Browse files Browse the repository at this point in the history
skb allocation / consumption corelator - Add config option

This patch adds a Kconfig option to enable the addtition of the skb source
tracer.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>

 Kconfig |   10 ++++++++++
 1 file changed, 10 insertions(+)
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Neil Horman authored and David S. Miller committed Aug 13, 2009
1 parent e9b3cc1 commit 5a16565
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions kernel/trace/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,16 @@ config BOOT_TRACER
You must pass in initcall_debug and ftrace=initcall to the kernel
command line to enable this on bootup.

config SKB_SOURCES_TRACER
bool "Trace skb source information"
select GENERIC_TRACER
help
This tracer helps developers/sysadmins correlate skb allocation and
consumption. The idea being that some processes will primarily consume data
that was allocated on certain numa nodes. By being able to visualize which
nodes the data was allocated on, a sysadmin or developer can optimize the
scheduling of those processes to cut back on cross node chatter.

config TRACE_BRANCH_PROFILING
bool
select GENERIC_TRACER
Expand Down

0 comments on commit 5a16565

Please sign in to comment.