Commit 3a5209e3 authored by Randy Dunlap's avatar Randy Dunlap Committed by David S. Miller

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1758c094
......@@ -236,6 +236,7 @@ config BOOT_TRACER
config SKB_SOURCES_TRACER
bool "Trace skb source information"
depends on NET
select GENERIC_TRACER
help
This tracer helps developers/sysadmins correlate skb allocation and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment