operf_counter.h File Reference

#include <sys/mman.h>
#include <unistd.h>
#include <sys/syscall.h>
#include <stdint.h>
#include <poll.h>
#include <string>
#include <vector>
#include <map>
#include <stdexcept>
#include <limits.h>
#include <istream>
#include <fstream>
#include "operf_event.h"
#include "op_cpu_type.h"
#include "operf_utils.h"
Include dependency graph for operf_counter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  operf_counter
class  operf_record
class  operf_read

Defines

#define OP_BASIC_SAMPLE_FORMAT
#define OP_PERF_HANDLED_ERROR   -101

Functions

static int op_perf_event_open (struct perf_event_attr *attr, pid_t pid, int cpu, int group_fd, unsigned long flags)

Variables

char * start_time_human_readable

Define Documentation

#define OP_BASIC_SAMPLE_FORMAT
Value:
(PERF_SAMPLE_ID | PERF_SAMPLE_IP \
    | PERF_SAMPLE_TID)

Definition at line 41 of file operf_counter.h.

Referenced by operf_counter::operf_counter().

#define OP_PERF_HANDLED_ERROR   -101

Function Documentation

static int op_perf_event_open ( struct perf_event_attr *  attr,
pid_t  pid,
int  cpu,
int  group_fd,
unsigned long  flags 
) [inline, static]

Definition at line 45 of file operf_counter.h.

Referenced by operf_counter::perf_event_open().

Here is the caller graph for this function:


Variable Documentation

Definition at line 73 of file operf.cpp.

Referenced by operf_read::convertPerfData(), and start_profiling().


Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1