#include <linux/perf_event.h>
#include <dirent.h>
#include <vector>
#include "config.h"
#include "op_config.h"
#include "op_types.h"
#include "operf_event.h"
#include <signal.h>
Go to the source code of this file.
Header file containing definitions for handling a user request to profile using the new Linux Performance Events Subsystem.
Created on: Dec 7, 2011
Definition in file operf_utils.h.
#define MMAP_WINDOW_SZ (32 * 1024 * 1024ULL) |
Definition at line 45 of file operf_utils.h.
Referenced by OP_perf_utils::op_mmap_trace_file().
#define OP_APPNAME_LEN 1024 |
Definition at line 41 of file operf_utils.h.
Referenced by validate_app_name().
static size_t align_64bit | ( | u64 | x | ) | [inline, static] |
Definition at line 50 of file operf_utils.h.
Referenced by _record_module_info(), _record_one_process_info(), and op_record_process_exec_mmaps().
int kptr_restrict |
Definition at line 72 of file operf.cpp.
Referenced by __handle_mmap_event(), and main().
uid_t my_uid |
Definition at line 70 of file operf.cpp.
Referenced by __handle_mmap_event(), _do_jitdump_convert(), and main().
bool no_vmlinux |
Definition at line 67 of file oprofiled.c.
Referenced by __handle_mmap_event(), _process_vmlinux(), find_kernel_image(), opd_24_init(), opd_create_vmlinux(), opd_handle_kernel_sample(), opd_options(), opd_put_sample(), opd_reread_module_info(), operf_create_vmlinux(), operf_find_kernel_image(), and process_args().
unsigned int op_nr_counters |
Definition at line 54 of file oprofiled.c.
Referenced by close_sfile(), create_sfile(), find_counter_event(), get_file(), opd_close_image_samples_files(), opd_options(), opd_parse_events(), operf_sfile_dup(), process_args(), sfile_dup(), and sync_sfile().
bool throttled |
Definition at line 58 of file operf_utils.cpp.