Linux Kernel
3.7.1
|
#include <linux/perf_event.h>
#include <linux/hw_breakpoint.h>
#include <linux/irqflags.h>
#include <linux/notifier.h>
#include <linux/kallsyms.h>
#include <linux/kprobes.h>
#include <linux/percpu.h>
#include <linux/kdebug.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/smp.h>
#include <asm/hw_breakpoint.h>
#include <asm/processor.h>
#include <asm/debugreg.h>
Go to the source code of this file.
Functions | |
DEFINE_PER_CPU (unsigned long, cpu_dr7) | |
EXPORT_PER_CPU_SYMBOL (cpu_dr7) | |
unsigned long | encode_dr7 (int drnum, unsigned int len, unsigned int type) |
int | decode_dr7 (unsigned long dr7, int bpnum, unsigned *len, unsigned *type) |
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 x86_len, int x86_type, int *gen_len, int *gen_type) |
int | arch_validate_hwbkpt_settings (struct perf_event *bp) |
void | aout_dump_debugregs (struct user *dump) |
EXPORT_SYMBOL_GPL (aout_dump_debugregs) | |
void | flush_ptrace_hw_breakpoint (struct task_struct *tsk) |
void | hw_breakpoint_restore (void) |
EXPORT_SYMBOL_GPL (hw_breakpoint_restore) | |
int __kprobes | hw_breakpoint_exceptions_notify (struct notifier_block *unused, unsigned long val, void *data) |
void | hw_breakpoint_pmu_read (struct perf_event *bp) |
Definition at line 356 of file hw_breakpoint.c.
Definition at line 206 of file hw_breakpoint.c.
int arch_check_bp_in_kernelspace | ( | struct perf_event * | bp | ) |
Definition at line 194 of file hw_breakpoint.c.
int arch_install_hw_breakpoint | ( | struct perf_event * | bp | ) |
Definition at line 106 of file hw_breakpoint.c.
void arch_uninstall_hw_breakpoint | ( | struct perf_event * | bp | ) |
Definition at line 144 of file hw_breakpoint.c.
int arch_validate_hwbkpt_settings | ( | struct perf_event * | bp | ) |
Definition at line 306 of file hw_breakpoint.c.
Definition at line 87 of file hw_breakpoint.c.
DEFINE_PER_CPU | ( | unsigned | long, |
cpu_dr7 | |||
) |
Definition at line 78 of file hw_breakpoint.c.
EXPORT_PER_CPU_SYMBOL | ( | cpu_dr7 | ) |
EXPORT_SYMBOL_GPL | ( | aout_dump_debugregs | ) |
EXPORT_SYMBOL_GPL | ( | hw_breakpoint_restore | ) |
void flush_ptrace_hw_breakpoint | ( | struct task_struct * | tsk | ) |
Definition at line 387 of file hw_breakpoint.c.
int __kprobes hw_breakpoint_exceptions_notify | ( | struct notifier_block * | unused, |
unsigned long | val, | ||
void * | data | ||
) |
Definition at line 512 of file hw_breakpoint.c.
void hw_breakpoint_pmu_read | ( | struct perf_event * | bp | ) |
Definition at line 521 of file hw_breakpoint.c.
Definition at line 398 of file hw_breakpoint.c.