Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
perf_event.c File Reference
#include <linux/perf_event.h>
#include <linux/kprobes.h>
#include <linux/kernel.h>
#include <linux/kdebug.h>
#include <linux/mutex.h>
#include <linux/init.h>
#include <asm/hwrpb.h>
#include <linux/atomic.h>
#include <asm/irq.h>
#include <asm/irq_regs.h>
#include <asm/pal.h>
#include <asm/wrperfmon.h>
#include <asm/hw_irq.h>

Go to the source code of this file.

Data Structures

struct  cpu_hw_events
 
struct  alpha_pmu_t
 
struct  ev67_mapping_t
 

Macros

#define MAX_HWEVENTS   3
 
#define PMC_NO_INDEX   -1
 
#define HW_OP_UNSUPPORTED   -1
 
#define EV67_NUM_EVENT_TYPES   (EV67_LAST_ET-EV67_CYCLES)
 

Enumerations

enum  ev67_pmc_event_type {
  EV67_CYCLES = 1, EV67_INSTRUCTIONS, EV67_BCACHEMISS, EV67_MBOXREPLAY,
  EV67_LAST_ET
}
 

Functions

 DEFINE_PER_CPU (struct cpu_hw_events, cpu_hw_events)
 
void perf_event_print_debug (void)
 
int __init init_hw_perf_events (void)
 
 early_initcall (init_hw_perf_events)
 

Macro Definition Documentation

#define EV67_NUM_EVENT_TYPES   (EV67_LAST_ET-EV67_CYCLES)

Definition at line 117 of file perf_event.c.

#define HW_OP_UNSUPPORTED   -1

Definition at line 95 of file perf_event.c.

#define MAX_HWEVENTS   3

Definition at line 29 of file perf_event.c.

#define PMC_NO_INDEX   -1

Definition at line 30 of file perf_event.c.

Enumeration Type Documentation

Enumerator:
EV67_CYCLES 
EV67_INSTRUCTIONS 
EV67_BCACHEMISS 
EV67_MBOXREPLAY 
EV67_LAST_ET 

Definition at line 110 of file perf_event.c.

Function Documentation

DEFINE_PER_CPU ( struct cpu_hw_events  ,
cpu_hw_events   
)
early_initcall ( init_hw_perf_events  )
int __init init_hw_perf_events ( void  )

Definition at line 870 of file perf_event.c.

void perf_event_print_debug ( void  )

Definition at line 769 of file perf_event.c.