Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
perf.c File Reference
#include <linux/capability.h>
#include <linux/init.h>
#include <linux/proc_fs.h>
#include <linux/miscdevice.h>
#include <linux/spinlock.h>
#include <asm/uaccess.h>
#include <asm/perf.h>
#include <asm/parisc-device.h>
#include <asm/processor.h>
#include <asm/runway.h>
#include <asm/io.h>
#include "perf_images.h"

Go to the source code of this file.

Data Structures

struct  rdr_tbl_ent
 

Macros

#define MAX_RDR_WORDS   24
 
#define PERF_VERSION   2 /* derived from hpux's PI v2 interface */
 

Functions

uint64_t perf_rdr_shift_in_W (uint32_t rdr_num, uint16_t width)
 
uint64_t perf_rdr_shift_in_U (uint32_t rdr_num, uint16_t width)
 
void perf_rdr_shift_out_W (uint32_t rdr_num, uint64_t buffer)
 
void perf_rdr_shift_out_U (uint32_t rdr_num, uint64_t buffer)
 
void perf_intrigue_enable_perf_counters (void)
 
void perf_intrigue_disable_perf_counters (void)
 
 module_init (perf_init)
 

Macro Definition Documentation

#define MAX_RDR_WORDS   24

Definition at line 60 of file perf.c.

#define PERF_VERSION   2 /* derived from hpux's PI v2 interface */

Definition at line 61 of file perf.c.

Function Documentation

module_init ( perf_init  )
void perf_intrigue_disable_perf_counters ( void  )
void perf_intrigue_enable_perf_counters ( void  )
uint64_t perf_rdr_shift_in_U ( uint32_t  rdr_num,
uint16_t  width 
)
uint64_t perf_rdr_shift_in_W ( uint32_t  rdr_num,
uint16_t  width 
)
void perf_rdr_shift_out_U ( uint32_t  rdr_num,
uint64_t  buffer 
)
void perf_rdr_shift_out_W ( uint32_t  rdr_num,
uint64_t  buffer 
)