Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ftrace.h File Reference

Go to the source code of this file.

Macros

#define MCOUNT_INSN_SIZE   6 /* sizeof "[++sp] = rets; call __mcount;" */
 
#define HAVE_ARCH_CALLER_ADDR
 
#define CALLER_ADDR0   ((unsigned long)__builtin_return_address(0))
 
#define CALLER_ADDR1   ((unsigned long)return_address(1))
 
#define CALLER_ADDR2   ((unsigned long)return_address(2))
 
#define CALLER_ADDR3   ((unsigned long)return_address(3))
 
#define CALLER_ADDR4   ((unsigned long)return_address(4))
 
#define CALLER_ADDR5   ((unsigned long)return_address(5))
 
#define CALLER_ADDR6   ((unsigned long)return_address(6))
 

Functions

voidreturn_address (unsigned int level)
 

Macro Definition Documentation

#define CALLER_ADDR0   ((unsigned long)__builtin_return_address(0))

Definition at line 72 of file ftrace.h.

#define CALLER_ADDR1   ((unsigned long)return_address(1))

Definition at line 73 of file ftrace.h.

#define CALLER_ADDR2   ((unsigned long)return_address(2))

Definition at line 74 of file ftrace.h.

#define CALLER_ADDR3   ((unsigned long)return_address(3))

Definition at line 75 of file ftrace.h.

#define CALLER_ADDR4   ((unsigned long)return_address(4))

Definition at line 76 of file ftrace.h.

#define CALLER_ADDR5   ((unsigned long)return_address(5))

Definition at line 77 of file ftrace.h.

#define CALLER_ADDR6   ((unsigned long)return_address(6))

Definition at line 78 of file ftrace.h.

#define HAVE_ARCH_CALLER_ADDR

Definition at line 69 of file ftrace.h.

#define MCOUNT_INSN_SIZE   6 /* sizeof "[++sp] = rets; call __mcount;" */

Definition at line 11 of file ftrace.h.

Function Documentation

void* return_address ( unsigned int  level)
inline

Definition at line 62 of file ftrace.h.