Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
perf_event_server.h File Reference
#include <linux/types.h>
#include <asm/hw_irq.h>

Go to the source code of this file.

Data Structures

struct  power_pmu
 

Macros

#define MAX_HWEVENTS   8
 
#define MAX_EVENT_ALTERNATIVES   8
 
#define MAX_LIMITED_HWCOUNTERS   2
 
#define PPMU_LIMITED_PMC5_6   1 /* PMC5/6 have limited function */
 
#define PPMU_ALT_SIPR   2 /* uses alternate posn for SIPR/HV */
 
#define PPMU_NO_SIPR   4 /* no SIPR/HV in MMCRA at all */
 
#define PPMU_NO_CONT_SAMPLING   8 /* no continuous sampling */
 
#define PPMU_SIAR_VALID   16 /* Processor has SIAR Valid bit */
 
#define PPMU_LIMITED_PMC_OK   1 /* can put this on a limited PMC */
 
#define PPMU_LIMITED_PMC_REQD   2 /* have to put this on a limited PMC */
 
#define PPMU_ONLY_COUNT_RUN   4 /* only counting in run state */
 

Functions

int register_power_pmu (struct power_pmu *)
 
unsigned long perf_misc_flags (struct pt_regs *regs)
 
unsigned long perf_instruction_pointer (struct pt_regs *regs)
 

Macro Definition Documentation

#define MAX_EVENT_ALTERNATIVES   8

Definition at line 16 of file perf_event_server.h.

#define MAX_HWEVENTS   8

Definition at line 15 of file perf_event_server.h.

#define MAX_LIMITED_HWCOUNTERS   2

Definition at line 17 of file perf_event_server.h.

#define PPMU_ALT_SIPR   2 /* uses alternate posn for SIPR/HV */

Definition at line 49 of file perf_event_server.h.

#define PPMU_LIMITED_PMC5_6   1 /* PMC5/6 have limited function */

Definition at line 48 of file perf_event_server.h.

#define PPMU_LIMITED_PMC_OK   1 /* can put this on a limited PMC */

Definition at line 57 of file perf_event_server.h.

#define PPMU_LIMITED_PMC_REQD   2 /* have to put this on a limited PMC */

Definition at line 58 of file perf_event_server.h.

#define PPMU_NO_CONT_SAMPLING   8 /* no continuous sampling */

Definition at line 51 of file perf_event_server.h.

#define PPMU_NO_SIPR   4 /* no SIPR/HV in MMCRA at all */

Definition at line 50 of file perf_event_server.h.

#define PPMU_ONLY_COUNT_RUN   4 /* only counting in run state */

Definition at line 59 of file perf_event_server.h.

#define PPMU_SIAR_VALID   16 /* Processor has SIAR Valid bit */

Definition at line 52 of file perf_event_server.h.

Function Documentation

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.

int register_power_pmu ( struct power_pmu )

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