Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
perf_event.c File Reference
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/uaccess.h>
#include <asm/irq_regs.h>
#include <asm/pmu.h>
#include <asm/stacktrace.h>

Go to the source code of this file.

Data Structures

struct  frame_tail
 

Macros

#define pr_fmt(fmt)   "hw perfevents: " fmt
 

Functions

int armpmu_map_event (struct perf_event *event, const unsigned(*event_map)[PERF_COUNT_HW_MAX], const unsigned(*cache_map)[PERF_COUNT_HW_CACHE_MAX][PERF_COUNT_HW_CACHE_OP_MAX][PERF_COUNT_HW_CACHE_RESULT_MAX], u32 raw_event_mask)
 
int armpmu_event_set_period (struct perf_event *event, struct hw_perf_event *hwc, int idx)
 
u64 armpmu_event_update (struct perf_event *event, struct hw_perf_event *hwc, int idx)
 
int armpmu_register (struct arm_pmu *armpmu, char *name, int type)
 
struct frame_tail __attribute__ ((packed))
 
void perf_callchain_user (struct perf_callchain_entry *entry, struct pt_regs *regs)
 
void perf_callchain_kernel (struct perf_callchain_entry *entry, struct pt_regs *regs)
 

Variables

struct dev_pm_ops armpmu_dev_pm_ops
 
struct frame_tail __userfp
 
unsigned long sp
 
unsigned long lr
 

Macro Definition Documentation

#define pr_fmt (   fmt)    "hw perfevents: " fmt

Definition at line 13 of file perf_event.c.

Function Documentation

struct frame_tail __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

int armpmu_event_set_period ( struct perf_event event,
struct hw_perf_event hwc,
int  idx 
)

Definition at line 90 of file perf_event.c.

u64 armpmu_event_update ( struct perf_event event,
struct hw_perf_event hwc,
int  idx 
)

Definition at line 130 of file perf_event.c.

int armpmu_map_event ( struct perf_event event,
const unsigned(*)  event_map[PERF_COUNT_HW_MAX],
const unsigned(*)  cache_map[PERF_COUNT_HW_CACHE_MAX][PERF_COUNT_HW_CACHE_OP_MAX][PERF_COUNT_HW_CACHE_RESULT_MAX],
u32  raw_event_mask 
)

Definition at line 67 of file perf_event.c.

int armpmu_register ( struct arm_pmu *  armpmu,
char name,
int  type 
)

Definition at line 520 of file perf_event.c.

void perf_callchain_kernel ( struct perf_callchain_entry entry,
struct pt_regs regs 
)

Definition at line 602 of file perf_event.c.

void perf_callchain_user ( struct perf_callchain_entry entry,
struct pt_regs regs 
)

Definition at line 575 of file perf_event.c.

Variable Documentation

struct dev_pm_ops armpmu_dev_pm_ops
Initial value:
= {
}

Definition at line 499 of file perf_event.c.

Definition at line 545 of file perf_event.c.

unsigned long lr

Definition at line 547 of file perf_event.c.

unsigned long sp

Definition at line 546 of file perf_event.c.