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

Go to the source code of this file.

Data Structures

struct  pfm_intr_handler_desc_t
 
union  pfm_ovfl_ctrl_t
 
struct  pfm_ovfl_arg_t
 
struct  pfm_buffer_fmt_t
 
struct  pfm_sysctl_t
 

Macros

#define PFM_PMD_SHORT_RESET   0
 
#define PFM_PMD_LONG_RESET   1
 
#define PFM_CPUINFO_SYST_WIDE   0x1 /* if set a system wide session exists */
 
#define PFM_CPUINFO_DCR_PP   0x2 /* if set the system wide session has started */
 
#define PFM_CPUINFO_EXCL_IDLE   0x4 /* the system wide session excludes the idle task */
 

Functions

long perfmonctl (int fd, int cmd, void *arg, int narg)
 
void pfm_save_regs (struct task_struct *)
 
void pfm_load_regs (struct task_struct *)
 
void pfm_exit_thread (struct task_struct *)
 
int pfm_use_debug_registers (struct task_struct *)
 
int pfm_release_debug_registers (struct task_struct *)
 
void pfm_syst_wide_update_task (struct task_struct *, unsigned long info, int is_ctxswin)
 
void pfm_inherit (struct task_struct *task, struct pt_regs *regs)
 
void pfm_init_percpu (void)
 
void pfm_handle_work (void)
 
int pfm_install_alt_pmu_interrupt (pfm_intr_handler_desc_t *h)
 
int pfm_remove_alt_pmu_interrupt (pfm_intr_handler_desc_t *h)
 
int pfm_register_buffer_fmt (pfm_buffer_fmt_t *fmt)
 
int pfm_unregister_buffer_fmt (pfm_uuid_t uuid)
 
int pfm_mod_read_pmds (struct task_struct *, void *req, unsigned int nreq, struct pt_regs *regs)
 
int pfm_mod_write_pmcs (struct task_struct *, void *req, unsigned int nreq, struct pt_regs *regs)
 
int pfm_mod_write_ibrs (struct task_struct *task, void *req, unsigned int nreq, struct pt_regs *regs)
 
int pfm_mod_write_dbrs (struct task_struct *task, void *req, unsigned int nreq, struct pt_regs *regs)
 

Variables

pfm_sysctl_t pfm_sysctl
 

Macro Definition Documentation

#define PFM_CPUINFO_DCR_PP   0x2 /* if set the system wide session has started */

Definition at line 95 of file perfmon.h.

#define PFM_CPUINFO_EXCL_IDLE   0x4 /* the system wide session excludes the idle task */

Definition at line 96 of file perfmon.h.

#define PFM_CPUINFO_SYST_WIDE   0x1 /* if set a system wide session exists */

Definition at line 94 of file perfmon.h.

#define PFM_PMD_LONG_RESET   1

Definition at line 36 of file perfmon.h.

#define PFM_PMD_SHORT_RESET   0

Definition at line 35 of file perfmon.h.

Function Documentation

long perfmonctl ( int  fd,
int  cmd,
void arg,
int  narg 
)
void pfm_exit_thread ( struct task_struct )
void pfm_handle_work ( void  )
void pfm_inherit ( struct task_struct task,
struct pt_regs regs 
)
void pfm_init_percpu ( void  )
int pfm_install_alt_pmu_interrupt ( pfm_intr_handler_desc_t h)
void pfm_load_regs ( struct task_struct )
int pfm_mod_read_pmds ( struct task_struct ,
void req,
unsigned int  nreq,
struct pt_regs regs 
)
int pfm_mod_write_dbrs ( struct task_struct task,
void req,
unsigned int  nreq,
struct pt_regs regs 
)
int pfm_mod_write_ibrs ( struct task_struct task,
void req,
unsigned int  nreq,
struct pt_regs regs 
)
int pfm_mod_write_pmcs ( struct task_struct ,
void req,
unsigned int  nreq,
struct pt_regs regs 
)
int pfm_register_buffer_fmt ( pfm_buffer_fmt_t fmt)
int pfm_release_debug_registers ( struct task_struct )
int pfm_remove_alt_pmu_interrupt ( pfm_intr_handler_desc_t h)
void pfm_save_regs ( struct task_struct )
void pfm_syst_wide_update_task ( struct task_struct ,
unsigned long  info,
int  is_ctxswin 
)
int pfm_unregister_buffer_fmt ( pfm_uuid_t  uuid)
int pfm_use_debug_registers ( struct task_struct )

Variable Documentation

pfm_sysctl_t pfm_sysctl