On Thu, 8 Nov 2018 16:22:08 -0800, Stanislav Fomichev wrote: > + for (map = bpf_map__prev(map, obj); > + map != NULL; > + map = bpf_map__prev(map, obj)) { nit pick: if you need to respin all these for loops on error paths could have been more concise while loops