Logo Search packages:      
Sourcecode: linux version File versions  Download package

nmi_int.c File Reference


Detailed Description

Remarks:
Copyright 2002 OProfile authors

Read the file COPYING

Author:
John Levon <levon@movementarian.org>

Definition in file nmi_int.c.

#include <linux/init.h>
#include <linux/notifier.h>
#include <linux/smp.h>
#include <linux/oprofile.h>
#include <linux/sysdev.h>
#include <linux/slab.h>
#include <linux/moduleparam.h>
#include <linux/kdebug.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.

Defines

#define exit_sysfs()   do { } while (0)
#define init_sysfs()   do { } while (0)

Functions

static int allocate_msrs (void)
static void free_msrs (void)
 module_param (p4force, int, 0)
static void nmi_cpu_save_registers (struct op_msrs *msrs)
static void nmi_cpu_setup (void *dummy)
static void nmi_cpu_shutdown (void *dummy)
static void nmi_cpu_start (void *dummy)
static void nmi_cpu_stop (void *dummy)
static int nmi_create_files (struct super_block *sb, struct dentry *root)
static void nmi_restore_registers (struct op_msrs *msrs)
static void nmi_save_registers (void *dummy)
static int nmi_setup (void)
static void nmi_shutdown (void)
static int nmi_start (void)
static void nmi_stop (void)
void op_nmi_exit (void)
int __init op_nmi_init (struct oprofile_operations *ops)
static int __init p4_init (char **cpu_type)
static int __init ppro_init (char **cpu_type)
static int profile_exceptions_notify (struct notifier_block *self, unsigned long val, void *data)

Variables

struct op_counter_config counter_config [OP_MAX_COUNTER]
static struct op_msrs cpu_msrs [NR_CPUS]
static struct
op_x86_model_spec const * 
model
static int nmi_enabled = 0
static int p4force
static struct notifier_block profile_exceptions_nb
static unsigned long saved_lvtpc [NR_CPUS]
static int using_nmi


Generated by  Doxygen 1.6.0   Back to index