#include <linux/oprofile.h>
#include <linux/device.h>
#include <linux/pci.h>
#include <linux/percpu.h>
#include <asm/ptrace.h>
#include <asm/msr.h>
#include <asm/nmi.h>
#include <asm/apic.h>
#include <asm/processor.h>
#include <asm/cpufeature.h>
#include "op_x86_model.h"
#include "op_counter.h"
Go to the source code of this file.
#define IBS_RANDOM_BITS 12 |
#define IBS_RANDOM_MASK ((1ULL << IBS_RANDOM_BITS) - 1) |
#define IBS_RANDOM_MAXCNT_OFFSET (1ULL << (IBS_RANDOM_BITS - 5)) |
#define MSR_AMD_EVENTSEL_RESERVED ((0xFFFFFCF0ULL<<32)|(1ULL<<21)) |
#define NUM_VIRT_COUNTERS 0 |
#define OP_CTR_OVERFLOW (1ULL<<31) |
#define OP_EVENT_MASK 0x0FFF |
Initial value:= {
.init = op_amd_init,
.fill_in_addresses = &op_amd_fill_in_addresses,
.setup_ctrs = &op_amd_setup_ctrs,
.check_ctrs = &op_amd_check_ctrs,
.start = &op_amd_start,
.stop = &op_amd_stop,
.shutdown = &op_amd_shutdown,
}
Definition at line 508 of file op_model_amd.c.