aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/bpf
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@google.com>2018-11-09 08:21:43 -0800
committerAlexei Starovoitov <ast@kernel.org>2018-11-10 15:56:11 -0800
commit33a2c75c55e24aa30ff9fed805ae8bea13c1e2a3 (patch)
tree4797b1d56f791555250422902c10708306afd64b /tools/bpf
parentlibbpf: bpf_program__pin: add special case for instances.nr == 1 (diff)
downloadwireguard-linux-33a2c75c55e24aa30ff9fed805ae8bea13c1e2a3.tar.xz
wireguard-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 'tools/bpf')
0 files changed, 0 insertions, 0 deletions