Skip to content

eBPF-based security platform

docs: build a target kernel before shirudo in the quickstart

Tobias Klauserced91f6ea9db
diff --git a/Documentation/start/quickstart.rst b/Documentation/start/quickstart.rst
index d0828f5d..917925ce 100644
--- a/Documentation/start/quickstart.rst
+++ b/Documentation/start/quickstart.rst
@@ -45,6 +45,20 @@ Before you begin
:doc:`/operate/plan/system-requirements` lists the requirements in full.
+Build a target kernel
+----------------------
+
+Before we build shirudo, we need a kernel for it to build against:
+shirudo's embedded BPF objects compile against a kernel's BTF and use
+the signed-loader ABI that only a bpf-next kernel patched under
+:src:`kernel/` has. Without one, the build falls back to the BTF of the
+kernel you are running, which lacks that ABI and fails to build. Build
+one first:
+
+.. code-block:: console
+
+ operator$ make -C testing kernel
+
Build shirudo
-------------