[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190116163451.0da02e3b@cakuba.netronome.com>
Date: Wed, 16 Jan 2019 16:34:51 -0800
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: Quentin Monnet <quentin.monnet@...ronome.com>
Cc: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>, netdev@...r.kernel.org,
oss-drivers@...ronome.com,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Jesper Dangaard Brouer <brouer@...hat.com>,
Stanislav Fomichev <sdf@...gle.com>
Subject: Re: [PATCH bpf-next v4 3/9] tools: bpftool: add probes for kernel
configuration options
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",
Powered by blists - more mailing lists