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

Go to the source code of this file.

Macros

#define MSR_SINGLESTEP   (MSR_SE)
 

Functions

 DEFINE_PER_CPU (struct kprobe *, current_kprobe)
 
 DEFINE_PER_CPU (struct kprobe_ctlblk, kprobe_ctlblk)
 
int __kprobes arch_prepare_kprobe (struct kprobe *p)
 
void __kprobes arch_arm_kprobe (struct kprobe *p)
 
void __kprobes arch_disarm_kprobe (struct kprobe *p)
 
void __kprobes arch_remove_kprobe (struct kprobe *p)
 
void __kprobes arch_prepare_kretprobe (struct kretprobe_instance *ri, struct pt_regs *regs)
 
int __kprobes kprobe_fault_handler (struct pt_regs *regs, int trapnr)
 
int __kprobes kprobe_exceptions_notify (struct notifier_block *self, unsigned long val, void *data)
 
int __kprobes setjmp_pre_handler (struct kprobe *p, struct pt_regs *regs)
 
void __used __kprobes jprobe_return (void)
 
int __kprobes longjmp_break_handler (struct kprobe *p, struct pt_regs *regs)
 
int __init arch_init_kprobes (void)
 
int __kprobes arch_trampoline_kprobe (struct kprobe *p)
 

Variables

struct kretprobe_blackpoint kretprobe_blacklist [] = {{NULL, NULL}}
 

Macro Definition Documentation

#define MSR_SINGLESTEP   (MSR_SE)

Definition at line 42 of file kprobes.c.

Function Documentation

void __kprobes arch_arm_kprobe ( struct kprobe p)

Definition at line 83 of file kprobes.c.

void __kprobes arch_disarm_kprobe ( struct kprobe p)

Definition at line 90 of file kprobes.c.

int __init arch_init_kprobes ( void  )

Definition at line 563 of file kprobes.c.

int __kprobes arch_prepare_kprobe ( struct kprobe p)

Definition at line 50 of file kprobes.c.

void __kprobes arch_prepare_kretprobe ( struct kretprobe_instance ri,
struct pt_regs regs 
)

Definition at line 151 of file kprobes.c.

void __kprobes arch_remove_kprobe ( struct kprobe p)

Definition at line 97 of file kprobes.c.

int __kprobes arch_trampoline_kprobe ( struct kprobe p)

Definition at line 568 of file kprobes.c.

DEFINE_PER_CPU ( struct kprobe ,
current_kprobe   
)
DEFINE_PER_CPU ( struct kprobe_ctlblk  ,
kprobe_ctlblk   
)
void __used __kprobes jprobe_return ( void  )

Definition at line 535 of file kprobes.c.

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

Definition at line 488 of file kprobes.c.

int __kprobes kprobe_fault_handler ( struct pt_regs regs,
int  trapnr 
)

Definition at line 421 of file kprobes.c.

int __kprobes longjmp_break_handler ( struct kprobe p,
struct pt_regs regs 
)

Definition at line 544 of file kprobes.c.

int __kprobes setjmp_pre_handler ( struct kprobe p,
struct pt_regs regs 
)

Definition at line 519 of file kprobes.c.

Variable Documentation

struct kretprobe_blackpoint kretprobe_blacklist[] = {{NULL, NULL}}

Definition at line 48 of file kprobes.c.