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/init.h>
#include <linux/perf_event.h>
#include <linux/hw_breakpoint.h>
#include <linux/percpu.h>
#include <linux/kallsyms.h>
#include <linux/notifier.h>
#include <linux/kprobes.h>
#include <linux/kdebug.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <asm/hw_breakpoint.h>
#include <asm/mmu_context.h>
#include <asm/ptrace.h>
#include <asm/traps.h>

Go to the source code of this file.

Functions

int arch_install_hw_breakpoint (struct perf_event *bp)
 
void arch_uninstall_hw_breakpoint (struct perf_event *bp)
 
int arch_check_bp_in_kernelspace (struct perf_event *bp)
 
int arch_bp_generic_fields (int sh_len, int sh_type, int *gen_len, int *gen_type)
 
int arch_validate_hwbkpt_settings (struct perf_event *bp)
 
void flush_ptrace_hw_breakpoint (struct task_struct *tsk)
 
 BUILD_TRAP_HANDLER (breakpoint)
 
int __kprobes hw_breakpoint_exceptions_notify (struct notifier_block *unused, unsigned long val, void *data)
 
void hw_breakpoint_pmu_read (struct perf_event *bp)
 
int register_sh_ubc (struct sh_ubc *ubc)
 

Function Documentation

int arch_bp_generic_fields ( int  sh_len,
int  sh_type,
int gen_len,
int gen_type 
)

Definition at line 138 of file hw_breakpoint.c.

int arch_check_bp_in_kernelspace ( struct perf_event bp)

Definition at line 126 of file hw_breakpoint.c.

int arch_install_hw_breakpoint ( struct perf_event bp)

Definition at line 49 of file hw_breakpoint.c.

void arch_uninstall_hw_breakpoint ( struct perf_event bp)

Definition at line 81 of file hw_breakpoint.c.

int arch_validate_hwbkpt_settings ( struct perf_event bp)

Definition at line 221 of file hw_breakpoint.c.

BUILD_TRAP_HANDLER ( breakpoint  )

Definition at line 371 of file hw_breakpoint.c.

void flush_ptrace_hw_breakpoint ( struct task_struct tsk)

Definition at line 270 of file hw_breakpoint.c.

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

Definition at line 382 of file hw_breakpoint.c.

void hw_breakpoint_pmu_read ( struct perf_event bp)

Definition at line 404 of file hw_breakpoint.c.

int register_sh_ubc ( struct sh_ubc ubc)

Definition at line 409 of file hw_breakpoint.c.