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 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 57 of file ftrace.h.

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

Definition at line 58 of file ftrace.h.

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

Definition at line 59 of file ftrace.h.

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

Definition at line 60 of file ftrace.h.

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

Definition at line 61 of file ftrace.h.

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

Definition at line 62 of file ftrace.h.

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

Definition at line 63 of file ftrace.h.

#define HAVE_ARCH_CALLER_ADDR

Definition at line 55 of file ftrace.h.

Function Documentation

void* return_address ( unsigned int  level)
inline

Definition at line 48 of file ftrace.h.