diff options
author | 2021-04-23 11:13:33 -0700 | |
---|---|---|
committer | 2021-04-23 14:05:26 -0700 | |
commit | 0fec7a3cee1cf8e4f86ff563d229408ccbdc2d66 (patch) | |
tree | 819ff515663653459f53849db97538345e828e29 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpftool: Dump more info about DATASEC members (diff) | |
download | wireguard-linux-0fec7a3cee1cf8e4f86ff563d229408ccbdc2d66.tar.xz wireguard-linux-0fec7a3cee1cf8e4f86ff563d229408ccbdc2d66.zip |
libbpf: Suppress compiler warning when using SEC() macro with externs
When used on externs SEC() macro will trigger compilation warning about
inapplicable `__attribute__((used))`. That's expected for extern declarations,
so suppress it with the corresponding _Pragma.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210423181348.1801389-4-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions