Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
perf_cpum_cf.c File Reference
#include <linux/kernel.h>
#include <linux/kernel_stat.h>
#include <linux/perf_event.h>
#include <linux/percpu.h>
#include <linux/notifier.h>
#include <linux/init.h>
#include <linux/export.h>
#include <asm/ctl_reg.h>
#include <asm/irq.h>
#include <asm/cpu_mf.h>

Go to the source code of this file.

Data Structures

struct  cpu_hw_events
 

Macros

#define KMSG_COMPONENT   "cpum_cf"
 
#define pr_fmt(fmt)   KMSG_COMPONENT ": " fmt
 
#define CPUMF_LCCTL_ENABLE_SHIFT   16
 
#define CPUMF_LCCTL_ACTCTL_SHIFT   0
 
#define PMC_INIT   0
 
#define PMC_RELEASE   1
 

Enumerations

enum  cpumf_ctr_set {
  CPUMF_CTR_SET_BASIC = 0, CPUMF_CTR_SET_USER = 1, CPUMF_CTR_SET_CRYPTO = 2, CPUMF_CTR_SET_EXT = 3,
  CPUMF_CTR_SET_MAX
}
 

Functions

 early_initcall (cpumf_pmu_init)
 

Macro Definition Documentation

#define CPUMF_LCCTL_ACTCTL_SHIFT   0

Definition at line 44 of file perf_cpum_cf.c.

#define CPUMF_LCCTL_ENABLE_SHIFT   16

Definition at line 43 of file perf_cpum_cf.c.

#define KMSG_COMPONENT   "cpum_cf"

Definition at line 11 of file perf_cpum_cf.c.

#define PMC_INIT   0

Definition at line 249 of file perf_cpum_cf.c.

#define PMC_RELEASE   1

Definition at line 250 of file perf_cpum_cf.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 12 of file perf_cpum_cf.c.

Enumeration Type Documentation

Enumerator:
CPUMF_CTR_SET_BASIC 
CPUMF_CTR_SET_USER 
CPUMF_CTR_SET_CRYPTO 
CPUMF_CTR_SET_EXT 
CPUMF_CTR_SET_MAX 

Definition at line 32 of file perf_cpum_cf.c.

Function Documentation

early_initcall ( cpumf_pmu_init  )