operf_counter.cpp File Reference

#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <signal.h>
#include <errno.h>
#include <string.h>
#include <iostream>
#include <sstream>
#include <stdlib.h>
#include "op_events.h"
#include "operf_counter.h"
#include "op_abi.h"
#include "cverb.h"
#include "operf_process_info.h"
#include "op_libiberty.h"
#include "operf_stats.h"
Include dependency graph for operf_counter.cpp:

Defines

#define OP_MAGIC   (*(u64 *)__op_magic)
#define OP_PIPE_READ_OK   0
#define OP_PIPE_CLOSED   -1

Variables

volatile bool quit
int sample_reads
int num_mmap_pages
unsigned int pagesize
verbose vrecord ("record")
verbose vconvert ("convert")
bool first_time_processing
bool throttled
size_t mmap_size
size_t pg_sz
bool use_cpu_minus_one

Define Documentation

#define OP_MAGIC   (*(u64 *)__op_magic)
#define OP_PIPE_CLOSED   -1
#define OP_PIPE_READ_OK   0

Variable Documentation

size_t mmap_size
unsigned int pagesize
size_t pg_sz
volatile bool quit
bool throttled

Referenced by main().

verbose vconvert("convert")
verbose vrecord("record")

Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1