op_netburst.c File Reference

Definitions of Netburst events and a function for obtaining an encoding for a given event/unit mask in perf_events format. More...

#include "config.h"
#include <string.h>
#include "op_types.h"
#include "op_netburst.h"
Include dependency graph for op_netburst.c:

Defines

#define NETBURST_EVENT_COUNT   (sizeof(op_netburst_events)/sizeof(netburst_entry_t))

Functions

int op_netburst_get_perf_encoding (const char *evt_name, unsigned long evt_um, int do_kernel, int do_user, u64 *config)

Variables

netburst_entry_t op_netburst_events []
 netburst_events

Detailed Description

Definitions of Netburst events and a function for obtaining an encoding for a given event/unit mask in perf_events format.

Remarks:
Copyright 2013 OProfile authors
Read the file COPYING

Created on: May 14, 2013

Author:
Maynard Johnson (C) Copyright IBM Corp. 2013

Define Documentation

#define NETBURST_EVENT_COUNT   (sizeof(op_netburst_events)/sizeof(netburst_entry_t))

Function Documentation

int op_netburst_get_perf_encoding ( const char *  evt_name,
unsigned long  evt_um,
int  do_kernel,
int  do_user,
u64 config 
)

Variable Documentation

netburst_events

Array of events that can be counted on Pentium4.


Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1