aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorPedro Tammela <[email protected]>2021-03-14 18:38:38 +0100
committerAndrii Nakryiko <[email protected]>2021-03-15 22:11:17 -0700
commit0205e9de42911404902728911b03fc1469242419 (patch)
treec8f0b87b5674b666291685f0cb0c0e4877d721ef /tools/perf/scripts/python/intel-pt-events.py
parent6503b9f29a47cdb4ebd6c36d8bbb018418415c2a (diff)
libbpf: Avoid inline hint definition from 'linux/stddef.h'
Linux headers might pull 'linux/stddef.h' which defines '__always_inline' as the following: #ifndef __always_inline #define __always_inline inline #endif This becomes an issue if the program picks up the 'linux/stddef.h' definition as the macro now just hints inline to clang. This change now enforces the proper definition for BPF programs regardless of the include order. Signed-off-by: Pedro Tammela <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions