From 01e52526cf764e8670cd920696e5485e64d1df36 Mon Sep 17 00:00:00 2001 From: px4dev Date: Sun, 16 Sep 2012 16:42:37 -0700 Subject: [PATCH] Turn off function instrumentation for inline functions; thanks Greg. --- 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 1e0af43826..d74fcbea08 100644 --- a/nuttx/include/nuttx/compiler.h +++ b/nuttx/include/nuttx/compiler.h @@ -97,7 +97,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 */