Commit ffdc1a09 authored by Ingo Molnar's avatar Ingo Molnar Committed by Thomas Gleixner

tracing: add notrace to linkage.h

notrace signals that a function should not be traced. Most of the
time this is used by tracers to annotate code that cannot be
traced - it's in a volatile state (such as in user vdso context
or NMI context) or it's in the tracer internals.
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 50282528
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
#include <asm/linkage.h> #include <asm/linkage.h>
#define notrace __attribute__((no_instrument_function))
#ifdef __cplusplus #ifdef __cplusplus
#define CPP_ASMLINKAGE extern "C" #define CPP_ASMLINKAGE extern "C"
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment