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

Go to the source code of this file.

Data Structures

struct  kmmio_probe
 
struct  mmiotrace_rw
 
struct  mmiotrace_map
 

Typedefs

typedef void(* kmmio_pre_handler_t )(struct kmmio_probe *, struct pt_regs *, unsigned long addr)
 
typedef void(* kmmio_post_handler_t )(struct kmmio_probe *, unsigned long condition, struct pt_regs *)
 

Enumerations

enum  mm_io_opcode {
  MMIO_READ = 0x1, MMIO_WRITE = 0x2, MMIO_PROBE = 0x3, MMIO_UNPROBE = 0x4,
  MMIO_UNKNOWN_OP = 0x5
}
 

Functions

int register_kmmio_probe (struct kmmio_probe *p)
 
void unregister_kmmio_probe (struct kmmio_probe *p)
 
int kmmio_init (void)
 
void kmmio_cleanup (void)
 
void enable_mmiotrace (void)
 
void disable_mmiotrace (void)
 
void mmio_trace_rw (struct mmiotrace_rw *rw)
 
void mmio_trace_mapping (struct mmiotrace_map *map)
 
int mmio_trace_printk (const char *fmt, va_list args)
 

Variables

unsigned int kmmio_count
 

Typedef Documentation

typedef void(* kmmio_post_handler_t)(struct kmmio_probe *, unsigned long condition, struct pt_regs *)

Definition at line 12 of file mmiotrace.h.

typedef void(* kmmio_pre_handler_t)(struct kmmio_probe *, struct pt_regs *, unsigned long addr)

Definition at line 10 of file mmiotrace.h.

Enumeration Type Documentation

Enumerator:
MMIO_READ 
MMIO_WRITE 
MMIO_PROBE 
MMIO_UNPROBE 
MMIO_UNKNOWN_OP 

Definition at line 79 of file mmiotrace.h.

Function Documentation

void disable_mmiotrace ( void  )

Definition at line 463 of file mmio-mod.c.

void enable_mmiotrace ( void  )

Definition at line 445 of file mmio-mod.c.

void kmmio_cleanup ( void  )

Definition at line 581 of file kmmio.c.

int kmmio_init ( void  )

Definition at line 571 of file kmmio.c.

void mmio_trace_mapping ( struct mmiotrace_map map)

Definition at line 360 of file trace_mmiotrace.c.

int mmio_trace_printk ( const char fmt,
va_list  args 
)

Definition at line 371 of file trace_mmiotrace.c.

void mmio_trace_rw ( struct mmiotrace_rw rw)

Definition at line 330 of file trace_mmiotrace.c.

int register_kmmio_probe ( struct kmmio_probe p)

Definition at line 418 of file kmmio.c.

void unregister_kmmio_probe ( struct kmmio_probe p)

Definition at line 503 of file kmmio.c.

Variable Documentation

unsigned int kmmio_count

Definition at line 68 of file kmmio.c.