Re: [PATCH bpf-next] bpftool: allow match by name prefixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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*.



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux