Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mmio-mod.c File Reference
#include <linux/module.h>
#include <linux/debugfs.h>
#include <linux/slab.h>
#include <linux/uaccess.h>
#include <linux/io.h>
#include <linux/kallsyms.h>
#include <asm/pgtable.h>
#include <linux/mmiotrace.h>
#include <asm/e820.h>
#include <linux/atomic.h>
#include <linux/percpu.h>
#include <linux/cpu.h>
#include "pf_in.h"

Go to the source code of this file.

Data Structures

struct  trap_reason
 
struct  remap_trace
 

Macros

#define pr_fmt(fmt)   "mmiotrace: " fmt
 
#define DEBUG   1
 

Functions

 module_param (filter_offset, ulong, 0)
 
 module_param (nommiotrace, bool, 0)
 
 module_param (trace_pc, bool, 0)
 
 MODULE_PARM_DESC (filter_offset,"Start address of traced mappings.")
 
 MODULE_PARM_DESC (nommiotrace,"Disable actual MMIO tracing.")
 
 MODULE_PARM_DESC (trace_pc,"Record address of faulting instructions.")
 
void mmiotrace_ioremap (resource_size_t offset, unsigned long size, void __iomem *addr)
 
void mmiotrace_iounmap (volatile void __iomem *addr)
 
int mmiotrace_printk (const char *fmt,...)
 
 EXPORT_SYMBOL (mmiotrace_printk)
 
void enable_mmiotrace (void)
 
void disable_mmiotrace (void)
 

Macro Definition Documentation

#define DEBUG   1

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

#define pr_fmt (   fmt)    "mmiotrace: " fmt

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

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.

EXPORT_SYMBOL ( mmiotrace_printk  )
void mmiotrace_ioremap ( resource_size_t  offset,
unsigned long  size,
void __iomem addr 
)

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

void mmiotrace_iounmap ( volatile void __iomem addr)

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

int mmiotrace_printk ( const char fmt,
  ... 
)

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

module_param ( filter_offset  ,
ulong  ,
 
)
module_param ( nommiotrace  ,
bool  ,
 
)
module_param ( trace_pc  ,
bool  ,
 
)
MODULE_PARM_DESC ( filter_offset  ,
"Start address of traced mappings."   
)
MODULE_PARM_DESC ( nommiotrace  ,
"Disable actual MMIO tracing."   
)
MODULE_PARM_DESC ( trace_pc  ,
"Record address of faulting instructions."   
)