operf_utils.cpp File Reference

Helper methods for perf_events-based OProfile. More...

#include <errno.h>
#include <dirent.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <fcntl.h>
#include <cverb.h>
#include <iostream>
#include <sstream>
#include "operf_counter.h"
#include "operf_utils.h"
#include "op_types.h"
#include "operf_process_info.h"
#include "file_manip.h"
#include "operf_kernel.h"
#include "operf_sfile.h"
#include "op_fileio.h"
#include "op_libiberty.h"
#include "operf_stats.h"
Include dependency graph for operf_utils.cpp:


#define OFFLINE   0x30


void __set_event_throttled (int index)


verbose vmisc
 all others not fitting in above category, not voluminous.
volatile bool quit
volatile bool read_quit
operf_read operfRead
int sample_reads
unsigned int pagesize
char * app_name
pid_t app_PID
verbose vrecord
verbose vconvert
map< pid_t, operf_process_info * > process_map
multimap< string, struct
operf_mmap * > 
map< u64, struct operf_mmap * > kernel_modules
struct operf_mmapkernel_mmap
bool first_time_processing
bool throttled
size_t mmap_size
size_t pg_sz

Detailed Description

Helper methods for perf_events-based OProfile.

Copyright 2011 OProfile authors
Read the file COPYING

Created on: Dec 7, 2011

Maynard Johnson (C) Copyright IBM Corp. 2011

Modified by Maynard Johnson <maynardj@us.ibm.com> (C) Copyright IBM Corporation 2012, 2013

Define Documentation

#define OFFLINE   0x30

Function Documentation

void __set_event_throttled ( int  index  ) 

References events.

Variable Documentation

multimap<string, struct operf_mmap *> all_images_map
char* app_name

Referenced by run_app(), and validate_app_name().

pid_t app_PID
map<u64, struct operf_mmap *> kernel_modules
size_t mmap_size
unsigned int pagesize
size_t pg_sz
volatile bool quit
volatile bool read_quit
bool throttled

all others not fitting in above category, not voluminous.

Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1