Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
uprobes.c File Reference
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/ptrace.h>
#include <linux/uprobes.h>
#include <linux/uaccess.h>
#include <linux/kdebug.h>
#include <asm/sstep.h>

Go to the source code of this file.

Macros

#define UPROBE_TRAP_NR   UINT_MAX
 

Functions

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

Macro Definition Documentation

#define UPROBE_TRAP_NR   UINT_MAX

Definition at line 31 of file uprobes.c.

Function Documentation

void arch_uprobe_abort_xol ( struct arch_uprobe auprobe,
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.

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 auprobe,
struct pt_regs regs 
)

Definition at line 106 of file uprobes.c.

int arch_uprobe_pre_xol ( struct arch_uprobe auprobe,
struct pt_regs regs 
)

Definition at line 60 of file uprobes.c.

bool arch_uprobe_skip_sstep ( struct arch_uprobe auprobe,
struct pt_regs regs 
)

Definition at line 171 of file uprobes.c.

bool arch_uprobe_xol_was_trapped ( struct task_struct t)

Definition at line 91 of file uprobes.c.

unsigned long uprobe_get_swbp_addr ( struct pt_regs regs)

uprobe_get_swbp_addr - compute address of swbp given post-swbp regs : Reflects the saved state of the task after it has hit a breakpoint instruction. Return the address of the breakpoint instruction.

Definition at line 76 of file uprobes.c.