Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
uprobes.h File Reference
#include <linux/notifier.h>

Go to the source code of this file.

Data Structures

struct  arch_uprobe
 
struct  arch_uprobe_task
 

Macros

#define MAX_UINSN_BYTES   16
 
#define UPROBE_XOL_SLOT_BYTES   128 /* to keep it cache aligned */
 
#define UPROBE_SWBP_INSN   0xcc
 
#define UPROBE_SWBP_INSN_SIZE   1
 

Typedefs

typedef u8 uprobe_opcode_t
 

Functions

int arch_uprobe_analyze_insn (struct arch_uprobe *aup, struct mm_struct *mm, unsigned long addr)
 
int arch_uprobe_pre_xol (struct arch_uprobe *aup, struct pt_regs *regs)
 
int arch_uprobe_post_xol (struct arch_uprobe *aup, struct pt_regs *regs)
 
bool arch_uprobe_xol_was_trapped (struct task_struct *tsk)
 
int arch_uprobe_exception_notify (struct notifier_block *self, unsigned long val, void *data)
 
void arch_uprobe_abort_xol (struct arch_uprobe *aup, struct pt_regs *regs)
 

Macro Definition Documentation

#define MAX_UINSN_BYTES   16

Definition at line 30 of file uprobes.h.

#define UPROBE_SWBP_INSN   0xcc

Definition at line 33 of file uprobes.h.

#define UPROBE_SWBP_INSN_SIZE   1

Definition at line 34 of file uprobes.h.

#define UPROBE_XOL_SLOT_BYTES   128 /* to keep it cache aligned */

Definition at line 31 of file uprobes.h.

Typedef Documentation

Definition at line 28 of file uprobes.h.

Function Documentation

void arch_uprobe_abort_xol ( struct arch_uprobe aup,
struct pt_regs regs 
)

Definition at line 159 of file uprobes.c.

int arch_uprobe_analyze_insn ( struct arch_uprobe auprobe,
struct mm_struct mm,
unsigned long  addr 
)

arch_uprobe_analyze_insn : the probed address space. : the probepoint information. : vaddr to probe. Return 0 on success or a -ve number on error.

arch_uprobe_analyze_insn - instruction analysis including validity and fixups. : the probed address space. : the probepoint information. : virtual address at which to install the probepoint Return 0 on success or a -ve number on error.

Definition at line 40 of file uprobes.c.

int arch_uprobe_exception_notify ( struct notifier_block self,
unsigned long  val,
void data 
)

Definition at line 126 of file uprobes.c.

int arch_uprobe_post_xol ( struct arch_uprobe aup,
struct pt_regs regs 
)

Definition at line 106 of file uprobes.c.

int arch_uprobe_pre_xol ( struct arch_uprobe aup,
struct pt_regs regs 
)

Definition at line 60 of file uprobes.c.

bool arch_uprobe_xol_was_trapped ( struct task_struct tsk)

Definition at line 91 of file uprobes.c.