#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"
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 OP_MAGIC (*(u64 *)__op_magic) |
Definition at line 58 of file operf_counter.cpp.
Referenced by operf_record::_write_header_to_file(), and operf_record::_write_header_to_pipe().
Definition at line 57 of file operf_utils.cpp.
Referenced by __get_operf_trans(), __handle_sample_event(), and operf_read::convertPerfData().
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().
int num_mmap_pages |
Definition at line 42 of file operf_counter.cpp.
Referenced by operf_record::prepareToRecord(), operf_record::setup(), and operf_record::~operf_record().
unsigned int pagesize |
Definition at line 43 of file operf_counter.cpp.
Referenced by OP_perf_utils::op_get_kernel_event_data(), operf_record::prepareToRecord(), operf_record::setup(), and operf_record::~operf_record().
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 |
Definition at line 39 of file operf_counter.cpp.
Referenced by OP_perf_utils::op_perfrecord_sigusr1_handler(), and operf_record::recordPerfData().
volatile bool read_quit |
Definition at line 40 of file operf_counter.cpp.
Referenced by OP_perf_utils::op_perfread_sigusr1_handler().
int sample_reads |
Definition at line 41 of file operf_counter.cpp.
Referenced by OP_perf_utils::op_get_kernel_event_data(), and operf_record::recordPerfData().
bool throttled |
Definition at line 58 of file operf_utils.cpp.
Referenced by operf_read::convertPerfData(), main(), and OP_perf_utils::op_write_event().