Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
hw_breakpoint.c File Reference
#include <linux/hw_breakpoint.h>
#include <linux/notifier.h>
#include <linux/kprobes.h>
#include <linux/percpu.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/smp.h>
#include <asm/hw_breakpoint.h>
#include <asm/processor.h>
#include <asm/sstep.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Functions

int hw_breakpoint_slots (int type)
 
int arch_install_hw_breakpoint (struct perf_event *bp)
 
void arch_uninstall_hw_breakpoint (struct perf_event *bp)
 
void arch_unregister_hw_breakpoint (struct perf_event *bp)
 
int arch_check_bp_in_kernelspace (struct perf_event *bp)
 
int arch_bp_generic_fields (int type, int *gen_bp_type)
 
int arch_validate_hwbkpt_settings (struct perf_event *bp)
 
void thread_change_pc (struct task_struct *tsk, struct pt_regs *regs)
 
int __kprobes hw_breakpoint_handler (struct die_args *args)
 
int __kprobes single_step_dabr_instruction (struct die_args *args)
 
int __kprobes hw_breakpoint_exceptions_notify (struct notifier_block *unused, unsigned long val, void *data)
 
void flush_ptrace_hw_breakpoint (struct task_struct *tsk)
 
void hw_breakpoint_pmu_read (struct perf_event *bp)
 

Function Documentation

int arch_bp_generic_fields ( int  type,
int gen_bp_type 
)

Definition at line 128 of file hw_breakpoint.c.

int arch_check_bp_in_kernelspace ( struct perf_event bp)

Definition at line 121 of file hw_breakpoint.c.

int arch_install_hw_breakpoint ( struct perf_event bp)

Definition at line 64 of file hw_breakpoint.c.

void arch_uninstall_hw_breakpoint ( struct perf_event bp)

Definition at line 90 of file hw_breakpoint.c.

void arch_unregister_hw_breakpoint ( struct perf_event bp)

Definition at line 107 of file hw_breakpoint.c.

int arch_validate_hwbkpt_settings ( struct perf_event bp)

Definition at line 149 of file hw_breakpoint.c.

void flush_ptrace_hw_breakpoint ( struct task_struct tsk)

Definition at line 359 of file hw_breakpoint.c.

int __kprobes hw_breakpoint_exceptions_notify ( struct notifier_block unused,
unsigned long  val,
void data 
)

Definition at line 339 of file hw_breakpoint.c.

int __kprobes hw_breakpoint_handler ( struct die_args args)

Definition at line 214 of file hw_breakpoint.c.

void hw_breakpoint_pmu_read ( struct perf_event bp)

Definition at line 367 of file hw_breakpoint.c.

int hw_breakpoint_slots ( int  type)

Definition at line 48 of file hw_breakpoint.c.

int __kprobes single_step_dabr_instruction ( struct die_args args)

Definition at line 300 of file hw_breakpoint.c.

void thread_change_pc ( struct task_struct tsk,
struct pt_regs regs 
)

Definition at line 198 of file hw_breakpoint.c.