[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c0302d0f-e77b-97a0-13f7-50e09ac92600@gmail.com>
Date: Mon, 30 Dec 2019 21:28:52 -0700
From: David Ahern <dsahern@...il.com>
To: Paul Chaignon <paul.chaignon@...nge.com>, bpf@...r.kernel.org
Cc: paul.chaignon@...il.com, Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Martin KaFai Lau <kafai@...com>,
Song Liu <songliubraving@...com>, Yonghong Song <yhs@...com>,
Andrii Nakryiko <andriin@...com>, netdev@...r.kernel.org
Subject: Re: [PATCH bpf-next] bpftool: allow match by name prefixes
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*.
Powered by blists - more mailing lists