Merge pull request #14509 from ragnard/bpf-tracing-kernel-config
linux: kernel config for extended BPF support
This commit is contained in:
commit
4907fc9e8d
@ -118,6 +118,10 @@ with stdenv.lib;
|
||||
${optionalString (stdenv.system == "x86_64-linux") ''
|
||||
BPF_JIT y
|
||||
''}
|
||||
${optionalString (versionAtLeast version "4.4") ''
|
||||
NET_CLS_BPF m
|
||||
NET_ACT_BPF m
|
||||
''}
|
||||
|
||||
# Wireless networking.
|
||||
CFG80211_WEXT? y # Without it, ipw2200 drivers don't build
|
||||
@ -398,6 +402,10 @@ with stdenv.lib;
|
||||
${optionalString (versionAtLeast version "3.10") ''
|
||||
UPROBE_EVENT y
|
||||
''}
|
||||
${optionalString (versionAtLeast version "4.4") ''
|
||||
BPF_SYSCALL y
|
||||
BPF_EVENTS y
|
||||
''}
|
||||
FUNCTION_PROFILER y
|
||||
RING_BUFFER_BENCHMARK n
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user