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/percpu.h>

Go to the source code of this file.

Data Structures

struct  arch_specific_insn
 
struct  prev_kprobe
 
struct  kprobe_ctlblk
 

Macros

#define BREAKPOINT_INSTRUCTION   0x91d02070 /* ta 0x70 */
 
#define BREAKPOINT_INSTRUCTION_2   0x91d02071 /* ta 0x71 */
 
#define MAX_INSN_SIZE   2
 
#define kretprobe_blacklist_size   0
 
#define arch_remove_kprobe(p)   do {} while (0)
 
#define flush_insn_slot(p)
 

Typedefs

typedef u32 kprobe_opcode_t
 

Functions

void kretprobe_trampoline (void)
 
int kprobe_exceptions_notify (struct notifier_block *self, unsigned long val, void *data)
 
int kprobe_fault_handler (struct pt_regs *regs, int trapnr)
 

Macro Definition Documentation

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

Definition at line 15 of file kprobes.h.

#define BREAKPOINT_INSTRUCTION   0x91d02070 /* ta 0x70 */

Definition at line 9 of file kprobes.h.

#define BREAKPOINT_INSTRUCTION_2   0x91d02071 /* ta 0x71 */

Definition at line 10 of file kprobes.h.

#define flush_insn_slot (   p)
Value:
do { flushi(&(p)->ainsn.insn[0]); \
flushi(&(p)->ainsn.insn[1]); \
} while (0)

Definition at line 17 of file kprobes.h.

#define kretprobe_blacklist_size   0

Definition at line 13 of file kprobes.h.

#define MAX_INSN_SIZE   2

Definition at line 11 of file kprobes.h.

Typedef Documentation

Definition at line 7 of file kprobes.h.

Function Documentation

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,
int  trapnr 
)

Definition at line 186 of file kprobes.c.

void kretprobe_trampoline ( void  )

Definition at line 377 of file kprobes.c.