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/ptrace.h>
#include <linux/types.h>
#include <asm/cacheflush.h>
#include <asm/kdebug.h>
#include <asm/inst.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 flush_insn_slot(p)
 
#define kretprobe_blacklist_size   0
 
#define MAX_JPROBES_STACK_SIZE   128
 
#define MAX_JPROBES_STACK_ADDR   (((unsigned long)current_thread_info()) + THREAD_SIZE - 32 - sizeof(struct pt_regs))
 
#define MIN_JPROBES_STACK_SIZE(ADDR)
 
#define SKIP_DELAYSLOT   0x0001
 

Typedefs

typedef union mips_instruction kprobe_opcode_t
 

Functions

void arch_remove_kprobe (struct kprobe *p)
 
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 32 of file kprobes.h.

#define flush_insn_slot (   p)
Value:
do { \
flush_icache_range((unsigned long)p->addr, \
(unsigned long)p->addr + \
} while (0)

Definition at line 41 of file kprobes.h.

#define kretprobe_blacklist_size   0

Definition at line 49 of file kprobes.h.

#define MAX_INSN_SIZE   2

Definition at line 39 of file kprobes.h.

#define MAX_JPROBES_STACK_ADDR   (((unsigned long)current_thread_info()) + THREAD_SIZE - 32 - sizeof(struct pt_regs))

Definition at line 68 of file kprobes.h.

#define MAX_JPROBES_STACK_SIZE   128

Definition at line 67 of file kprobes.h.

#define MIN_JPROBES_STACK_SIZE (   ADDR)
#define SKIP_DELAYSLOT   0x0001

Definition at line 77 of file kprobes.h.

Typedef Documentation

Definition at line 37 of file kprobes.h.

Function Documentation

void arch_remove_kprobe ( struct kprobe p)

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.