From 948af9557a2876e13e3faabd6c387b8c91a4d144 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 12 Nov 2014 07:32:36 -0600 Subject: Defines inline functions as not instrumented - this is relevant for anyone using instrumentation. From Lorenz Meier. --- nuttx/include/nuttx/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuttx/include/nuttx/compiler.h b/nuttx/include/nuttx/compiler.h index 8276d7c9c..0575a570e 100644 --- a/nuttx/include/nuttx/compiler.h +++ b/nuttx/include/nuttx/compiler.h @@ -112,7 +112,7 @@ * indicates that the function should never be inlined. */ -# define inline_function __attribute__ ((always_inline)) +# define inline_function __attribute__ ((always_inline,no_instrument_function)) # define noinline_function __attribute__ ((noinline)) /* GCC has does not use storage classes to qualify addressing */ -- cgit v1.2.3