op_pe_utils.cpp File Reference

General utility functions for tools using Linux Performance Events Subsystem. More...

#include <linux/perf_event.h>
#include <dirent.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <asm/unistd.h>
#include <string.h>
#include <signal.h>
#include <iostream>
#include <set>
#include <stdexcept>
#include <sstream>
#include <string>
#include "config.h"
#include "op_config.h"
#include "op_types.h"
#include "op_pe_utils.h"
#include "operf_event.h"
#include "op_libiberty.h"
#include "cverb.h"
#include "op_string.h"
#include "op_netburst.h"
#include "op_events.h"
Include dependency graph for op_pe_utils.cpp:

Defines

#define OFFLINE   0x30
#define OFFLINE   0x30
#define _OP_UM   1
#define _OP_KERNEL   2
#define _OP_USER   3

Variables

verbose vdebug
std::vector< operf_event_tevents
op_cpu cpu_type

Detailed Description

General utility functions for tools using Linux Performance Events Subsystem.

Remarks:
Copyright 2013 OProfile authors
Read the file COPYING

Created on: May 21, 2013

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

Define Documentation

#define _OP_KERNEL   2
#define _OP_UM   1
#define _OP_USER   3
#define OFFLINE   0x30
#define OFFLINE   0x30

Variable Documentation

std::vector<operf_event_t> events

Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1