diff --git a/include/nuttx/compiler.h b/include/nuttx/compiler.h index 2621584c56..c5610df597 100644 --- a/include/nuttx/compiler.h +++ b/include/nuttx/compiler.h @@ -993,7 +993,8 @@ # define end_packed_struct __attribute__((packed)) # define reentrant_function # define naked_function -# define always_inline_function __attribute__((always_inline)) +# define always_inline_function __attribute__((always_inline,no_instrument_function)) +# define inline_function __attribute__((always_inline)) inline # define noinline_function __attribute__((noinline)) # define noinstrument_function # define nooptimiziation_function __attribute__((optimize(0)))