> via _bpftool_once_attr. Can this cause tab-completion to offer
> cpu/index keywords after a ring buffer map identifier?

Yes. Fixed in v5 by teaching _bpftool_map_guess_map_type() about
event_pipe and suppressing these selectors for ringbuf maps. Perf event
arrays retain cpu/index completion; unresolved map types keep the
existing fallback.

Sent as a new thread, with this review linked in the cover letter:
https://lore.kernel.org/r/[email protected]

Checked id/name/pinned completion against live maps, and all 18 ringbuf
subtests pass with the rebuilt bpftool.

Thanks,
Tianyi

Reply via email to