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

Go to the source code of this file.

Data Structures

struct  op_msr
 
struct  op_msrs
 
struct  op_x86_model_spec
 

Functions

u64 op_x86_get_ctrl (struct op_x86_model_spec const *model, struct op_counter_config *counter_config)
 
int op_x86_phys_to_virt (int phys)
 
int op_x86_virt_to_phys (int virt)
 

Variables

struct op_x86_model_spec op_ppro_spec
 
struct op_x86_model_spec op_p4_spec
 
struct op_x86_model_spec op_p4_ht2_spec
 
struct op_x86_model_spec op_amd_spec
 
struct op_x86_model_spec op_arch_perfmon_spec
 

Detailed Description

interface to x86 model-specific MSR operations

Remarks
Copyright 2002 OProfile authors
Read the file COPYING
Author
Graydon Hoare
Robert Richter rober.nosp@m.t.ri.nosp@m.chter.nosp@m.@amd.nosp@m..com

Definition in file op_x86_model.h.

Function Documentation

u64 op_x86_get_ctrl ( struct op_x86_model_spec const model,
struct op_counter_config counter_config 
)

Definition at line 42 of file nmi_int.c.

int op_x86_phys_to_virt ( int  phys)
inline

Definition at line 292 of file nmi_int.c.

int op_x86_virt_to_phys ( int  virt)
inline

Definition at line 293 of file nmi_int.c.

Variable Documentation

Definition at line 508 of file op_model_amd.c.

struct op_x86_model_spec op_arch_perfmon_spec

Definition at line 234 of file op_model_ppro.c.

struct op_x86_model_spec op_p4_ht2_spec

Definition at line 714 of file op_model_p4.c.

struct op_x86_model_spec op_ppro_spec

Definition at line 187 of file op_model_ppro.c.