All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] samples/bpf: Add more instructions to build dependencies and, configuration in README.rst
@ 2023-07-06 16:00 ` Anh Tuan Phan
  0 siblings, 0 replies; 26+ messages in thread
From: Anh Tuan Phan @ 2023-07-06 16:00 UTC (permalink / raw)
  To: bpf, ast, daniel, andrii, martin.lau, linux-kernel-mentees

Update the Documentation to mention that some samples require pahole
v1.16 and kernel built with CONFIG_DEBUG_INFO_BTF=y

Signed-off-by: Anh Tuan Phan <tuananhlfc@gmail.com>
---
 samples/bpf/README.rst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/samples/bpf/README.rst b/samples/bpf/README.rst
index 57f93edd1957..631592b83d60 100644
--- a/samples/bpf/README.rst
+++ b/samples/bpf/README.rst
@@ -14,6 +14,9 @@ Compiling requires having installed:
 Note that LLVM's tool 'llc' must support target 'bpf', list version
 and supported targets with command: ``llc --version``

+Some samples require pahole version 1.16 as a dependency. See
+https://docs.kernel.org/bpf/bpf_devel_QA.html for reference.
+
 Clean and configuration
 -----------------------

@@ -28,6 +31,10 @@ Configure kernel, defconfig for instance::

  make defconfig

+Some samples require support for BPF Type Format (BTF). To enable it,
open the
+generated config file, or use menuconfig (by "make menuconfig") to
enable the
+following configs: CONFIG_BPF_SYSCALL and CONFIG_DEBUG_INFO_BTF.
+
 Kernel headers
 --------------

-- 
2.34.1

^ permalink raw reply related	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2023-07-11 12:54 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-06 16:00 [PATCH v2] samples/bpf: Add more instructions to build dependencies and, configuration in README.rst Anh Tuan Phan
2023-07-06 16:00 ` Anh Tuan Phan
2023-07-06 18:16 ` Stanislav Fomichev
2023-07-06 18:16   ` Stanislav Fomichev via Linux-kernel-mentees
2023-07-07 13:48   ` Anh Tuan Phan
2023-07-07 13:48     ` Anh Tuan Phan
2023-07-07 16:57     ` Stanislav Fomichev
2023-07-07 16:57       ` Stanislav Fomichev via Linux-kernel-mentees
2023-07-09 14:37       ` Anh Tuan Phan
2023-07-09 14:37         ` Anh Tuan Phan
2023-07-09 15:21         ` Khalid Masum
2023-07-09 15:21           ` Khalid Masum
2023-07-09 15:36           ` Siddh Raman Pant
2023-07-09 15:36             ` Siddh Raman Pant
2023-07-10 13:03             ` Anh Tuan Phan
2023-07-10 13:03               ` Anh Tuan Phan
2023-07-11 12:53               ` Siddh Raman Pant
2023-07-11 12:53                 ` Siddh Raman Pant
2023-07-10 12:58           ` Anh Tuan Phan
2023-07-10 12:58             ` Anh Tuan Phan
2023-07-10 17:21           ` Stanislav Fomichev
2023-07-10 17:21             ` Stanislav Fomichev via Linux-kernel-mentees
2023-07-06 19:43 ` Ivan Orlov
2023-07-06 19:43   ` Ivan Orlov
2023-07-07 13:51   ` Anh Tuan Phan
2023-07-07 13:51     ` Anh Tuan Phan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.