Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ptrace.h File Reference
#include <uapi/asm/ptrace.h>
#include <asm/switch_to.h>

Go to the source code of this file.

Macros

#define arch_ptrace_stop_needed(exit_code, info)
 
#define arch_ptrace_stop(exit_code, info)   synchronize_user_stack()
 
#define user_mode(regs)   (!((regs)->psr & PSR_PS))
 
#define instruction_pointer(regs)   ((regs)->pc)
 
#define user_stack_pointer(regs)   ((regs)->u_regs[UREG_FP])
 
#define STACK_BIAS   2047
 
#define GR_SNAP_TSTATE   0x00
 
#define GR_SNAP_TPC   0x08
 
#define GR_SNAP_TNPC   0x10
 
#define GR_SNAP_O7   0x18
 
#define GR_SNAP_I7   0x20
 
#define GR_SNAP_RPC   0x28
 
#define GR_SNAP_THREAD   0x30
 
#define GR_SNAP_PAD1   0x38
 

Functions

unsigned long profile_pc (struct pt_regs *)
 

Macro Definition Documentation

#define arch_ptrace_stop (   exit_code,
  info 
)    synchronize_user_stack()

Definition at line 100 of file ptrace.h.

#define arch_ptrace_stop_needed (   exit_code,
  info 
)
Value:
current_thread_info()->w_saved != 0; \
})

Definition at line 95 of file ptrace.h.

#define GR_SNAP_I7   0x20

Definition at line 117 of file ptrace.h.

#define GR_SNAP_O7   0x18

Definition at line 116 of file ptrace.h.

#define GR_SNAP_PAD1   0x38

Definition at line 120 of file ptrace.h.

#define GR_SNAP_RPC   0x28

Definition at line 118 of file ptrace.h.

#define GR_SNAP_THREAD   0x30

Definition at line 119 of file ptrace.h.

#define GR_SNAP_TNPC   0x10

Definition at line 115 of file ptrace.h.

#define GR_SNAP_TPC   0x08

Definition at line 114 of file ptrace.h.

#define GR_SNAP_TSTATE   0x00

Definition at line 113 of file ptrace.h.

#define instruction_pointer (   regs)    ((regs)->pc)

Definition at line 104 of file ptrace.h.

#define STACK_BIAS   2047

Definition at line 110 of file ptrace.h.

#define user_mode (   regs)    (!((regs)->psr & PSR_PS))

Definition at line 103 of file ptrace.h.

#define user_stack_pointer (   regs)    ((regs)->u_regs[UREG_FP])

Definition at line 105 of file ptrace.h.

Function Documentation

unsigned long profile_pc ( struct pt_regs )

Definition at line 173 of file time.c.