aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJames Hilliard <[email protected]>2022-08-03 09:14:03 -0600
committerAndrii Nakryiko <[email protected]>2022-08-04 14:43:41 -0700
commitd25f40ff68aa61c838947bb9adee6c6b36e77453 (patch)
tree1bf6f961710f6e77b71bf3bb2c37dca727e272d4 /tools/perf/scripts/python
parentd55dfe587bc0670f90564a962615723fe7749ab1 (diff)
libbpf: Ensure functions with always_inline attribute are inline
GCC expects the always_inline attribute to only be set on inline functions, as such we should make all functions with this attribute use the __always_inline macro which makes the function inline and sets the attribute. Fixes errors like: /home/buildroot/bpf-next/tools/testing/selftests/bpf/tools/include/bpf/bpf_tracing.h:439:1: error: ‘always_inline’ function might not be inlinable [-Werror=attributes] 439 | ____##name(unsigned long long *ctx, ##args) | ^~~~ Signed-off-by: James Hilliard <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Jiri Olsa <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions