aboutsummaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2012-09-16 16:42:37 -0700
committerpx4dev <px4@purgatory.org>2012-09-16 16:42:37 -0700
commit01e52526cf764e8670cd920696e5485e64d1df36 (patch)
tree61532c3604f2ae9ccf26db0b7a565f9f68e4b64d /nuttx/include
parent2b82c733a9c3b55ac8508d27d70281f7193d7760 (diff)
downloadpx4-firmware-01e52526cf764e8670cd920696e5485e64d1df36.tar.gz
px4-firmware-01e52526cf764e8670cd920696e5485e64d1df36.tar.bz2
px4-firmware-01e52526cf764e8670cd920696e5485e64d1df36.zip
Turn off function instrumentation for inline functions; thanks Greg.
Diffstat (limited to 'nuttx/include')
-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 1e0af4382..d74fcbea0 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 */