summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-12 07:32:36 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-12 07:32:36 -0600
commit948af9557a2876e13e3faabd6c387b8c91a4d144 (patch)
tree71f1f55c4396615e67b4622b7c071d78f6eaf7b8
parenta625219b1496b8fe4f21a695716fd8166b8cafe4 (diff)
downloadnuttx-948af9557a2876e13e3faabd6c387b8c91a4d144.tar.gz
nuttx-948af9557a2876e13e3faabd6c387b8c91a4d144.tar.bz2
nuttx-948af9557a2876e13e3faabd6c387b8c91a4d144.zip
Defines inline functions as not instrumented - this is relevant for anyone using instrumentation. From Lorenz Meier.
-rw-r--r--nuttx/include/nuttx/compiler.h2
1 files changed, 1 insertions, 1 deletions
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 */