Skip to content

Commit 287931a

Browse files
rpardiniigorpecovnik
authored andcommitted
armbian-kernel: more eBPF-oriented options for userspace tooling
1 parent 35be053 commit 287931a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

lib/functions/compilation/armbian-kernel.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,21 @@ function armbian_kernel_config__600_enable_ebpf_and_btf_info() {
122122
"BPF_JIT" "BPF_JIT_DEFAULT_ON" "FTRACE_SYSCALLS" "PROBE_EVENTS_BTF_ARGS" "BPF_KPROBE_OVERRIDE" # eBPF == on
123123
"DEBUG_INFO" "DEBUG_INFO_DWARF5" "DEBUG_INFO_BTF" "DEBUG_INFO_BTF_MODULES" # BTF & CO-RE == off
124124
)
125+
126+
# Extra eBPF-related stuff for eBPF tooling like Tetragon
127+
opts_y+=(
128+
"BLK_CGROUP_IOCOST"
129+
"BPF_EVENTS"
130+
"BPF_JIT_ALWAYS_ON"
131+
"BPF_LSM"
132+
"BPF_STREAM_PARSER"
133+
"CGROUP_FAVOR_DYNMODS"
134+
"CGROUP_MISC"
135+
"DYNAMIC_FTRACE"
136+
"FTRACE"
137+
"FUNCTION_TRACER"
138+
"TRACEFS_AUTOMOUNT_DEPRECATED" # This is valid until 2030, needed for some eBPF tools
139+
)
125140
fi
126141
}
127142

0 commit comments

Comments
 (0)