opd_events.c File Reference

Event details for each counter. More...

#include "config.h"
#include "opd_events.h"
#include "opd_printf.h"
#include "opd_extended.h"
#include "oprofiled.h"
#include "op_string.h"
#include "op_config.h"
#include "op_cpufreq.h"
#include "op_cpu_type.h"
#include "op_libiberty.h"
#include "op_hw_config.h"
#include "op_sample_file.h"
#include "op_events.h"
#include <stdlib.h>
#include <stdio.h>
Include dependency graph for opd_events.c:

Functions

void opd_parse_events (char const *events)
 parse the events into the opd_events array
struct opd_eventfind_counter_event (unsigned long counter)
 Find the event for the given counter.
void fill_header (struct opd_header *header, unsigned long counter, vma_t anon_start, vma_t cg_to_anon_start, int is_kernel, int cg_to_is_kernel, int spu_samples, uint64_t embed_offset, time_t mtime)
 fill the sample file header with event info etc.

Variables

op_cpu cpu_type
struct opd_event opd_events [OP_MAX_COUNTERS]

Detailed Description

Event details for each counter.

Remarks:
Copyright 2002, 2003 OProfile authors
Read the file COPYING
Author:
John Levon
Philippe Elie

Function Documentation

void fill_header ( struct opd_header header,
unsigned long  counter,
vma_t  anon_start,
vma_t  anon_end,
int  is_kernel,
int  cg_to_is_kernel,
int  spu_samples,
uint64_t  embed_offset,
time_t  mtime 
)
struct opd_event* find_counter_event ( unsigned long  counter  )  [read]
void opd_parse_events ( char const *  events  ) 

parse the events into the opd_events array

References CPU_TIMER_INT, cpu_type, opd_event::name, op_cpu_frequency(), op_nr_counters, opd_events, verbprintf, and vmisc.


Variable Documentation

struct opd_event opd_events[OP_MAX_COUNTERS]

Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1