Skip to main content
Version: latest

Requirements

This section summarizes the kernel versions and features that are required to run the gadgets. This has been generated by testing different Ubuntu versions and their shipped kernels, hence it's possible that some gadgets work in older kernels than the one mentioned here.

All gadgets require the following:

  1. CONFIG_BPF=y
  2. CONFIG_BPF_SYSCALL=y.
  3. CONFIG_DEBUG_INFO_BTF=y if the host kernel is not supported by BTFHub.

For all gadgets, the minimum kernel version and additional needed CONFIG_* are listed in the following table:

GadgetMinimum KernelAdditional CONFIG_*
advise network-policyU.U
advise seccomp-profileU.U
audit seccomp5.4KPROBES
profile block-ioU.U
profile cpuU.U
profile tcprttU.UKPROBES
snapshot process5.10
snapshot socket5.10
top block-ioU.UKPROBES
top file5.4KPROBES
top tcpU.UKPROBES
trace bind5.4KPROBES, KRETPROBES
trace capabilitiesU.UKPROBES
trace dns5.4
trace exec5.4FTRACE_SYSCALLS
trace fsslower5.4KPROBES, KRETPROBES
trace mountU.UFTRACE_SYSCALLS
trace oomkill5.4KPROBES
trace open5.4FTRACE_SYSCALLS
trace signal5.4FTRACE_SYSCALLS
trace sniU.U
trace tcpU.U
trace tcpconnect5.8KPROBES, KRETPROBES
trace tcpdrop5.18
trace tcpretrans4.15
traceloop4.15KPROBES

If the kernel version is U.U, it means we do not have this information at the moment.