Commit 78a9909a authored by Ingo Molnar's avatar Ingo Molnar

x86, tracing: add notrace to asm-x86/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>
parent 11ae9dd4
#ifndef __ASM_LINKAGE_H #ifndef __ASM_LINKAGE_H
#define __ASM_LINKAGE_H #define __ASM_LINKAGE_H
#undef notrace
#define notrace __attribute__((no_instrument_function))
#ifdef CONFIG_X86_64 #ifdef CONFIG_X86_64
#define __ALIGN .p2align 4,,15 #define __ALIGN .p2align 4,,15
#define __ALIGN_STR ".p2align 4,,15" #define __ALIGN_STR ".p2align 4,,15"
......
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