diff options
author | Andrii Nakryiko <[email protected]> | 2021-04-23 11:13:33 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-04-23 14:05:26 -0700 |
commit | 0fec7a3cee1cf8e4f86ff563d229408ccbdc2d66 (patch) | |
tree | 819ff515663653459f53849db97538345e828e29 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 5b438f01d7eb2dc9bec7cd79de881b5f155d9a71 (diff) |
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 <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions