[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6927ffa1-e7f5-6691-dc86-da6c0d628c4f@isovalent.com>
Date: Wed, 2 Nov 2022 11:56:55 +0000
From: Quentin Monnet <quentin@...valent.com>
To: Tao Chen <chentao.kernel@...ux.alibaba.com>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>,
Martin KaFai Lau <martin.lau@...ux.dev>,
Song Liu <song@...nel.org>, Yonghong Song <yhs@...com>,
John Fastabend <john.fastabend@...il.com>,
KP Singh <kpsingh@...nel.org>,
Stanislav Fomichev <sdf@...gle.com>
Cc: bpf@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RESEND PATCH] bpftool: Support use full prog name in prog
subcommand
2022-11-02 10:35 UTC+0800 ~ Tao Chen <chentao.kernel@...ux.alibaba.com>
> Now that the commit: <b662000aff84> ("bpftool: Adding support for BTF
> program names") supported show the full prog name, we can also use
> the full prog name more than 16 (BPF_OBJ_NAME_LEN) chars in prog
> subcommand, such as "bpftool prog show name PROG_NAME".
>
> Signed-off-by: Tao Chen <chentao.kernel@...ux.alibaba.com>
Thanks! But you mean you want something like this, correct?
# ./bpftool prog pin \
name prog_with_a_very_long_name /sys/fs/bpf/foo
This is already possible since commit d55dfe587bc0 ("bpftool: Remove
BPF_OBJ_NAME_LEN restriction when looking up bpf program by name"). Your
first version of the patch was based on a version that didn't have this
commit, but bpftool from bpf-next already supports this.
Quentin
Powered by blists - more mailing lists