From: David Ahern <dsahern@gmail.com>
To: Paul Chaignon <paul.chaignon@orange.com>, bpf@vger.kernel.org
Cc: paul.chaignon@gmail.com, Alexei Starovoitov <ast@kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>,
Martin KaFai Lau <kafai@fb.com>, Song Liu <songliubraving@fb.com>,
Yonghong Song <yhs@fb.com>, Andrii Nakryiko <andriin@fb.com>,
netdev@vger.kernel.org
Subject: Re: [PATCH bpf-next] bpftool: allow match by name prefixes
Date: Mon, 30 Dec 2019 21:28:52 -0700 [thread overview]
Message-ID: <c0302d0f-e77b-97a0-13f7-50e09ac92600@gmail.com> (raw)
In-Reply-To: <20191227161657.GA16029@Nover>
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*.
prev parent reply other threads:[~2019-12-31 4:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-27 16:16 [PATCH bpf-next] bpftool: allow match by name prefixes Paul Chaignon
2019-12-31 4:28 ` David Ahern [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c0302d0f-e77b-97a0-13f7-50e09ac92600@gmail.com \
--to=dsahern@gmail.com \
--cc=andriin@fb.com \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=kafai@fb.com \
--cc=netdev@vger.kernel.org \
--cc=paul.chaignon@gmail.com \
--cc=paul.chaignon@orange.com \
--cc=songliubraving@fb.com \
--cc=yhs@fb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox