diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-08-17 19:00:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-17 19:00:30 -0400 |
commit | 3a5209e3b26386fd174820ee6e8e27479b24869a (patch) | |
tree | 40a5e47e5c2a97d8dcd9bf6159b5b550f48d0527 /kernel | |
parent | 1758c0947605211ef953cc91d6bbdf847a21b822 (diff) |
trace_skb: fix build when CONFIG_NET is not enabled
Fix trace_skb_sources build when CONFIG_NET is not enabled:
kernel/built-in.o: In function `probe_skb_dequeue':
trace_skb_sources.c:(.text+0xd9152): undefined reference to `init_net'
trace_skb_sources.c:(.text+0xd9188): undefined reference to `dev_get_by_index'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/trace/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index f09d7635c0e1..9a2f19bf0512 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -236,6 +236,7 @@ config BOOT_TRACER | |||
236 | 236 | ||
237 | config SKB_SOURCES_TRACER | 237 | config SKB_SOURCES_TRACER |
238 | bool "Trace skb source information" | 238 | bool "Trace skb source information" |
239 | depends on NET | ||
239 | select GENERIC_TRACER | 240 | select GENERIC_TRACER |
240 | help | 241 | help |
241 | This tracer helps developers/sysadmins correlate skb allocation and | 242 | This tracer helps developers/sysadmins correlate skb allocation and |