On 12/27/19 9:16 AM, Paul Chaignon wrote: > This patch extends bpftool to support lookup of programs and maps by > name prefixes (instead of full name only), as follows. > > $ ./bpftool prog show name tcp_ > 19: kprobe name tcp_cleanup_rbu tag 639217cf5b184808 gpl > [...] > 20: kprobe name tcp_sendmsg tag 6546b9784163ee69 gpl > [...] > This should be more generic in matches - not just the names beginning with. Full regex might not be warranted, but certainly more than just begins with. e.g., handling *tcp*.