Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

op_model_arm11_evtmon.c File Reference


Detailed Description

Based on the op_model_xscale.c driver by author Zwane Mwaikambo

Definition in file op_model_arm11_evtmon.c.

#include <linux/types.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/oprofile.h>
#include <linux/interrupt.h>
#include <mach/hardware.h>
#include <asm/irq.h>
#include <asm/system.h>
#include "op_counter.h"
#include "op_arm_model.h"
#include "evtmon_regs.h"

Go to the source code of this file.

Classes

struct  pmu_counter
struct  pmu_type

Enumerations

enum  {
  EMC0 = MAX_PMUCOUNTERS, EMC1, EMC2, EMC3,
  MAX_L2COUNTERS
}

Functions

int arm11_evtmon_detect (void)
int arm11_evtmon_setup_ctrs (void)
int arm11_evtmon_start (void)
void arm11_evtmon_stop (void)
int l2em_configure_counter (int nr, int type)
void l2x0_evtbus_disable (void)
void l2x0_evtbus_enable (void)
void write_l2counter (int nr, u32 val)

Variables

static struct pmu_type * pmu
static struct pmu_type pmu_parms []
static struct pmu_counter results [MAX_L2COUNTERS]


Generated by  Doxygen 1.6.0   Back to index