diff options
author | Andrii Nakryiko <andriin@fb.com> | 2020-04-28 17:16:11 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-04-28 17:27:08 -0700 |
commit | 50325b1761e31ad17d252e795af72a9af8c5a7d7 (patch) | |
tree | 8906e3ed16ed15ff936df0460050ce4459645ecd /tools/bpf/bpftool/common.c | |
parent | 2c2837b09e9ab4874353186599609fa2e1ccabce (diff) | |
download | linux-50325b1761e31ad17d252e795af72a9af8c5a7d7.tar.gz linux-50325b1761e31ad17d252e795af72a9af8c5a7d7.tar.bz2 linux-50325b1761e31ad17d252e795af72a9af8c5a7d7.zip |
bpftool: Expose attach_type-to-string array to non-cgroup code
Move attach_type_strings into main.h for access in non-cgroup code.
bpf_attach_type is used for non-cgroup attach types quite widely now. So also
complete missing string translations for non-cgroup attach types.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20200429001614.1544-8-andriin@fb.com
Diffstat (limited to 'tools/bpf/bpftool/common.c')
0 files changed, 0 insertions, 0 deletions