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 <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:

Go to the source code of this file.

Defines

#define OP_MAGIC   (*(u64 *)__op_magic)

Variables

volatile bool quit
volatile bool read_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

Define Documentation

#define OP_MAGIC   (*(u64 *)__op_magic)

Variable Documentation

size_t mmap_size

Definition at line 59 of file operf_utils.cpp.

Referenced by __mmap_trace_file(), and OP_perf_utils::op_mmap_trace_file().

unsigned int pagesize
size_t pg_sz

Definition at line 60 of file operf_utils.cpp.

Referenced by OP_perf_utils::op_mmap_trace_file().

volatile bool quit
volatile bool read_quit

Definition at line 40 of file operf_counter.cpp.

Referenced by OP_perf_utils::op_perfread_sigusr1_handler().

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

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1