[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87h83yl1ga.fsf@toke.dk>
Date: Thu, 24 Oct 2019 15:25:57 +0200
From: Toke Høiland-Jørgensen <toke@...hat.com>
To: Daniel Borkmann <daniel@...earbox.net>
Cc: Alexei Starovoitov <ast@...nel.org>,
Martin KaFai Lau <kafai@...com>,
Song Liu <songliubraving@...com>, Yonghong Song <yhs@...com>,
Jesper Dangaard Brouer <brouer@...hat.com>,
Andrii Nakryiko <andrii.nakryiko@...il.com>,
David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
bpf@...r.kernel.org
Subject: Re: [PATCH bpf-next v2 3/4] libbpf: Support configurable pinning of maps from BTF annotations
> +int bpf_object__pin_maps(struct bpf_object *obj, const char *path)
> +{
> + LIBBPF_OPTS(bpf_object_pin_opts, opts,
> + .pin_path = path,
> + .pin_all = (path != NULL));
> + return bpf_object__pin_maps_opts(obj, &opts);
> +}
Hmm, seems I forgot to pull before sending; this should be
LIBBPF_DECLARE_OPTS now. Will fix in the next version, but I'll give
y'all a chance to comment on this version first :)
-Toke
Powered by blists - more mailing lists