Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
core-book3s.c File Reference
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/perf_event.h>
#include <linux/percpu.h>
#include <linux/hardirq.h>
#include <asm/reg.h>
#include <asm/pmc.h>
#include <asm/machdep.h>
#include <asm/firmware.h>
#include <asm/ptrace.h>

Go to the source code of this file.

Data Structures

struct  cpu_hw_events
 

Functions

 DEFINE_PER_CPU (struct cpu_hw_events, cpu_hw_events)
 
void perf_event_print_debug (void)
 
void power_pmu_start_txn (struct pmu *pmu)
 
void power_pmu_cancel_txn (struct pmu *pmu)
 
int power_pmu_commit_txn (struct pmu *pmu)
 
unsigned long perf_misc_flags (struct pt_regs *regs)
 
unsigned long perf_instruction_pointer (struct pt_regs *regs)
 
int __cpuinit register_power_pmu (struct power_pmu *pmu)
 

Variables

struct power_pmuppmu
 
struct pmu power_pmu
 

Function Documentation

DEFINE_PER_CPU ( struct cpu_hw_events  ,
cpu_hw_events   
)
void perf_event_print_debug ( void  )

Definition at line 266 of file core-book3s.c.

unsigned long perf_instruction_pointer ( struct pt_regs regs)

Definition at line 1403 of file core-book3s.c.

unsigned long perf_misc_flags ( struct pt_regs regs)

Definition at line 1389 of file core-book3s.c.

void power_pmu_cancel_txn ( struct pmu pmu)

Definition at line 1040 of file core-book3s.c.

int power_pmu_commit_txn ( struct pmu pmu)

Definition at line 1053 of file core-book3s.c.

void power_pmu_start_txn ( struct pmu pmu)

Definition at line 1026 of file core-book3s.c.

int __cpuinit register_power_pmu ( struct power_pmu pmu)

Definition at line 1531 of file core-book3s.c.

Variable Documentation

Initial value:
= {
.pmu_enable = power_pmu_enable,
.pmu_disable = power_pmu_disable,
.event_init = power_pmu_event_init,
.add = power_pmu_add,
.del = power_pmu_del,
.start = power_pmu_start,
.stop = power_pmu_stop,
.read = power_pmu_read,
.start_txn = power_pmu_start_txn,
.cancel_txn = power_pmu_cancel_txn,
.commit_txn = power_pmu_commit_txn,
.event_idx = power_pmu_event_idx,
}

Definition at line 1308 of file core-book3s.c.

Definition at line 44 of file core-book3s.c.