Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
hw_breakpoint.h File Reference
#include <uapi/asm/hw_breakpoint.h>
#include <linux/kdebug.h>
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  arch_hw_breakpoint
 
struct  sh_ubc
 

Macros

#define __ARCH_HW_BREAKPOINT_H
 
#define HBP_NUM   2
 

Enumerations

enum  {
  SH_BREAKPOINT_READ = (1 << 1), SH_BREAKPOINT_WRITE = (1 << 2), SH_BREAKPOINT_RW = SH_BREAKPOINT_READ | SH_BREAKPOINT_WRITE, SH_BREAKPOINT_LEN_1 = (1 << 12),
  SH_BREAKPOINT_LEN_2 = (1 << 13), SH_BREAKPOINT_LEN_4 = SH_BREAKPOINT_LEN_1 | SH_BREAKPOINT_LEN_2, SH_BREAKPOINT_LEN_8 = (1 << 14)
}
 

Functions

int arch_check_bp_in_kernelspace (struct perf_event *bp)
 
int arch_validate_hwbkpt_settings (struct perf_event *bp)
 
int hw_breakpoint_exceptions_notify (struct notifier_block *unused, unsigned long val, void *data)
 
int arch_install_hw_breakpoint (struct perf_event *bp)
 
void arch_uninstall_hw_breakpoint (struct perf_event *bp)
 
void hw_breakpoint_pmu_read (struct perf_event *bp)
 
void arch_fill_perf_breakpoint (struct perf_event *bp)
 
int register_sh_ubc (struct sh_ubc *)
 

Variables

struct pmu perf_ops_bp
 

Macro Definition Documentation

#define __ARCH_HW_BREAKPOINT_H

Definition at line 6 of file hw_breakpoint.h.

#define HBP_NUM   2

Definition at line 48 of file hw_breakpoint.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
SH_BREAKPOINT_READ 
SH_BREAKPOINT_WRITE 
SH_BREAKPOINT_RW 
SH_BREAKPOINT_LEN_1 
SH_BREAKPOINT_LEN_2 
SH_BREAKPOINT_LEN_4 
SH_BREAKPOINT_LEN_8 

Definition at line 18 of file hw_breakpoint.h.

Function Documentation

int arch_check_bp_in_kernelspace ( struct perf_event bp)

Definition at line 458 of file hw_breakpoint.c.

void arch_fill_perf_breakpoint ( struct perf_event bp)
int arch_install_hw_breakpoint ( struct perf_event bp)

Definition at line 327 of file hw_breakpoint.c.

void arch_uninstall_hw_breakpoint ( struct perf_event bp)

Definition at line 391 of file hw_breakpoint.c.

int arch_validate_hwbkpt_settings ( struct perf_event bp)

Definition at line 593 of file hw_breakpoint.c.

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

Definition at line 1062 of file hw_breakpoint.c.

void hw_breakpoint_pmu_read ( struct perf_event bp)

Definition at line 1055 of file hw_breakpoint.c.

int register_sh_ubc ( struct sh_ubc )

Definition at line 409 of file hw_breakpoint.c.

Variable Documentation

struct pmu perf_ops_bp