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

Go to the source code of this file.

Data Structures

struct  arch_specific_insn
 
struct  prev_kprobe
 
struct  kprobe_ctlblk
 

Macros

#define __ARCH_WANT_KPROBES_INSN_SLOT
 
#define MAX_INSN_SIZE   2
 
#define MAX_STACK_SIZE   64 /* 32 would probably be OK */
 
#define flush_insn_slot(p)   do { } while (0)
 
#define kretprobe_blacklist_size   0
 

Typedefs

typedef u32 kprobe_opcode_t
 
typedef voidkprobe_insn_handler_t )(struct kprobe *, struct pt_regs *)
 
typedef unsigned longkprobe_check_cc )(unsigned long)
 
typedef voidkprobe_insn_singlestep_t )(struct kprobe *, struct pt_regs *)
 
typedef voidkprobe_insn_fn_t )(void)
 

Functions

void arch_remove_kprobe (struct kprobe *)
 
int kprobe_fault_handler (struct pt_regs *regs, unsigned int fsr)
 
int kprobe_exceptions_notify (struct notifier_block *self, unsigned long val, void *data)
 

Macro Definition Documentation

#define __ARCH_WANT_KPROBES_INSN_SLOT

Definition at line 23 of file kprobes.h.

#define flush_insn_slot (   p)    do { } while (0)

Definition at line 27 of file kprobes.h.

#define kretprobe_blacklist_size   0

Definition at line 28 of file kprobes.h.

#define MAX_INSN_SIZE   2

Definition at line 24 of file kprobes.h.

#define MAX_STACK_SIZE   64 /* 32 would probably be OK */

Definition at line 25 of file kprobes.h.

Typedef Documentation

typedef unsigned long( kprobe_check_cc)(unsigned long)

Definition at line 34 of file kprobes.h.

typedef void( kprobe_insn_fn_t)(void)

Definition at line 36 of file kprobes.h.

typedef void( kprobe_insn_handler_t)(struct kprobe *, struct pt_regs *)

Definition at line 33 of file kprobes.h.

typedef void( kprobe_insn_singlestep_t)(struct kprobe *, struct pt_regs *)

Definition at line 35 of file kprobes.h.

Definition at line 30 of file kprobes.h.

Function Documentation

void arch_remove_kprobe ( struct kprobe )

Definition at line 158 of file kprobes.c.

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

Definition at line 359 of file kprobes.c.

int kprobe_fault_handler ( struct pt_regs regs,
unsigned int  fsr 
)

Definition at line 309 of file kprobes.c.