Thread (25 messages) flat view 25 messages, 5 authors, 2019-01-17

Re: [PATCH bpf-next v4 3/9] tools: bpftool: add probes for kernel configuration options

From: Jakub Kicinski <hidden>
Date: 2019-01-17 00:35:01

On Wed, 16 Jan 2019 14:21:13 +0000, Quentin Monnet wrote:
+static void probe_kernel_image_config(void)
+{
+	const char * const options[] = {
nit: static
+		/* Enable BPF */
+		"CONFIG_BPF",
+		/* Enable bpf() syscall */
+		"CONFIG_BPF_SYSCALL",
+		/* Does selected architecture support eBPF JIT compiler */
+		"CONFIG_HAVE_EBPF_JIT",
+		/* Compile eBPF JIT compiler */
+		"CONFIG_BPF_JIT",
+		/* Avoid compiling eBPF interpreter (use JIT only) */
+		"CONFIG_BPF_JIT_ALWAYS_ON",
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help