Thread (15 messages) flat view 15 messages, 3 authors, 2019-10-27

Re: [PATCH bpf-next v2 3/4] libbpf: Support configurable pinning of maps from BTF annotations

From: Toke Høiland-Jørgensen <hidden>
Date: 2019-10-24 13:26:01
Also in: bpf

+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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help