Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
perfctr-watchdog.c File Reference
#include <linux/percpu.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/bitops.h>
#include <linux/smp.h>
#include <asm/nmi.h>
#include <linux/kprobes.h>
#include <asm/apic.h>
#include <asm/perf_event.h>

Go to the source code of this file.

Macros

#define NMI_MAX_COUNTER_BITS   66
 

Functions

int avail_to_resrv_perfctr_nmi_bit (unsigned int counter)
 
 EXPORT_SYMBOL (avail_to_resrv_perfctr_nmi_bit)
 
int reserve_perfctr_nmi (unsigned int msr)
 
 EXPORT_SYMBOL (reserve_perfctr_nmi)
 
void release_perfctr_nmi (unsigned int msr)
 
 EXPORT_SYMBOL (release_perfctr_nmi)
 
int reserve_evntsel_nmi (unsigned int msr)
 
 EXPORT_SYMBOL (reserve_evntsel_nmi)
 
void release_evntsel_nmi (unsigned int msr)
 
 EXPORT_SYMBOL (release_evntsel_nmi)
 

Macro Definition Documentation

#define NMI_MAX_COUNTER_BITS   66

Definition at line 31 of file perfctr-watchdog.c.

Function Documentation

int avail_to_resrv_perfctr_nmi_bit ( unsigned int  counter)

Definition at line 98 of file perfctr-watchdog.c.

EXPORT_SYMBOL ( avail_to_resrv_perfctr_nmi_bit  )
EXPORT_SYMBOL ( reserve_perfctr_nmi  )
EXPORT_SYMBOL ( release_perfctr_nmi  )
EXPORT_SYMBOL ( reserve_evntsel_nmi  )
EXPORT_SYMBOL ( release_evntsel_nmi  )
void release_evntsel_nmi ( unsigned int  msr)

Definition at line 149 of file perfctr-watchdog.c.

void release_perfctr_nmi ( unsigned int  msr)

Definition at line 121 of file perfctr-watchdog.c.

int reserve_evntsel_nmi ( unsigned int  msr)

Definition at line 134 of file perfctr-watchdog.c.

int reserve_perfctr_nmi ( unsigned int  msr)

Definition at line 106 of file perfctr-watchdog.c.