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)
 

Macro Definition Documentation

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

Definition at line 45 of file ftrace.h.

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

Definition at line 46 of file ftrace.h.

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

Definition at line 47 of file ftrace.h.

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

Definition at line 48 of file ftrace.h.

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

Definition at line 49 of file ftrace.h.

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

Definition at line 50 of file ftrace.h.

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

Definition at line 51 of file ftrace.h.

#define HAVE_ARCH_CALLER_ADDR

Definition at line 43 of file ftrace.h.

Function Documentation

void* return_address ( unsigned  int)
inline

Definition at line 48 of file ftrace.h.