Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions | Variables
nmi_int.c File Reference
#include <linux/init.h>
#include <linux/notifier.h>
#include <linux/smp.h>
#include <linux/oprofile.h>
#include <linux/syscore_ops.h>
#include <linux/slab.h>
#include <linux/moduleparam.h>
#include <linux/kdebug.h>
#include <linux/cpu.h>
#include <asm/nmi.h>
#include <asm/msr.h>
#include <asm/apic.h>
#include "op_counter.h"
#include "op_x86_model.h"

Go to the source code of this file.

Enumerations

enum  __force_cpu_type { reserved = 0, timer, arch_perfmon }
 

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)
 
 module_param_call (cpu_type, set_cpu_type, NULL, NULL, 0)
 
int __init op_nmi_init (struct oprofile_operations *ops)
 
void op_nmi_exit (void)
 

Variables

struct op_counter_config counter_config [OP_MAX_COUNTER]
 

Detailed Description

Remarks
Copyright 2002-2009 OProfile authors
Read the file COPYING
Author
John Levon levon.nosp@m.@mov.nosp@m.ement.nosp@m.aria.nosp@m.n.org
Robert Richter rober.nosp@m.t.ri.nosp@m.chter.nosp@m.@amd.nosp@m..com
Barry Kasindorf barry.nosp@m..kas.nosp@m.indor.nosp@m.f@am.nosp@m.d.com
Jason Yeh jason.nosp@m..yeh.nosp@m.@amd..nosp@m.com
Suravee Suthikulpanit surav.nosp@m.ee.s.nosp@m.uthik.nosp@m.ulpa.nosp@m.nit@a.nosp@m.md.c.nosp@m.om

Definition in file nmi_int.c.

Enumeration Type Documentation

Enumerator:
reserved 
timer 
arch_perfmon 

Definition at line 598 of file nmi_int.c.

Function Documentation

module_param_call ( cpu_type  ,
set_cpu_type  ,
NULL  ,
NULL  ,
 
)
void op_nmi_exit ( void  )

Definition at line 788 of file nmi_int.c.

int __init op_nmi_init ( struct oprofile_operations ops)

Definition at line 684 of file nmi_int.c.

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 38 of file nmi_int.c.