> +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