diff options
author | Tobias Klauser <[email protected]> | 2020-06-24 16:31:54 +0200 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-06-25 16:06:01 +0200 |
commit | 16d37ee3d2b1c30052ba5ebb69556040fc174061 (patch) | |
tree | 21078193ce697a9cf994e7bd8f548c6cdcf49ff6 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 9023497d8746d355bac8ddbc65797a4f553726fd (diff) |
tools, bpftool: Define attach_type_name array only once
Define attach_type_name in common.c instead of main.h so it is only
defined once. This leads to a slight decrease in the binary size of
bpftool.
Before:
text data bss dec hex filename
399024 11168 1573160 1983352 1e4378 bpftool
After:
text data bss dec hex filename
398256 10880 1573160 1982296 1e3f58 bpftool
Signed-off-by: Tobias Klauser <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions