summaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@google.com>2018-11-09 17:21:43 +0100
committerAlexei Starovoitov <ast@kernel.org>2018-11-11 00:56:11 +0100
commit33a2c75c55e24aa30ff9fed805ae8bea13c1e2a3 (patch)
tree4797b1d56f791555250422902c10708306afd64b /tools/bpf/bpftool/prog.c
parentlibbpf: bpf_program__pin: add special case for instances.nr == 1 (diff)
downloadlinux-33a2c75c55e24aa30ff9fed805ae8bea13c1e2a3.tar.xz
linux-33a2c75c55e24aa30ff9fed805ae8bea13c1e2a3.zip
libbpf: add internal pin_name
pin_name is the same as section_name where '/' is replaced by '_'. bpf_object__pin_programs is converted to use pin_name to avoid the situation where section_name would require creating another subdirectory for a pin (as, for example, when calling bpf_object__pin_programs for programs in sections like "cgroup/connect6"). Signed-off-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions