2022-11-02 10:35 UTC+0800 ~ Tao Chen <chentao.kernel@xxxxxxxxxxxxxxxxx> > 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@xxxxxxxxxxxxxxxxx> 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