#include <operf_sfile.h>
Data Fields | |
unsigned long | hashval |
const char * | image_name |
const char * | app_filename |
size_t | image_len |
size_t | app_len |
pid_t | tid |
pid_t | tgid |
unsigned int | cpu |
struct operf_kernel_image * | kernel |
bool | is_anon |
vma_t | start_addr |
vma_t | end_addr |
struct list_head | hash |
struct list_head | lru |
int | ignored |
odb_t | files [OP_MAX_COUNTERS] |
odb_t * | ext_files |
struct list_head | cg_hash [CG_HASH_SIZE] |
Each set of sample files (where a set is over the physical counter types) will have one of these for it. We match against the descriptions here to find which sample DB file we need to modify.
cg files are stored in the hash.
Definition at line 39 of file operf_sfile.h.
const char* operf_sfile::app_filename |
Definition at line 43 of file operf_sfile.h.
Referenced by create_sfile(), do_match(), mangle_filename(), operf_sfile_equal(), and verbose_print_sample().
size_t operf_sfile::app_len |
Definition at line 44 of file operf_sfile.h.
Referenced by create_sfile(), do_match(), and operf_sfile_equal().
struct list_head operf_sfile::cg_hash[CG_HASH_SIZE] [read] |
hash table of opened cg sample files
Definition at line 68 of file operf_sfile.h.
Referenced by create_sfile(), for_one_sfile(), get_file(), and operf_sfile_dup().
unsigned int operf_sfile::cpu |
CPU number
Definition at line 50 of file operf_sfile.h.
Referenced by create_sfile(), do_match(), mangle_filename(), and operf_sfile_equal().
Definition at line 55 of file operf_sfile.h.
Referenced by create_sfile(), mangle_anon(), and verbose_print_sample().
odb_t operf_sfile::files[OP_MAX_COUNTERS] |
opened sample files
Definition at line 64 of file operf_sfile.h.
Referenced by close_sfile(), create_sfile(), get_file(), operf_sfile_dup(), and sync_sfile().
struct list_head operf_sfile::hash [read] |
hash table link
Definition at line 58 of file operf_sfile.h.
Referenced by kill_sfile(), operf_sfile_dup(), and operf_sfile_find().
unsigned long operf_sfile::hashval |
hash value for this sfile
Definition at line 41 of file operf_sfile.h.
Referenced by create_sfile(), and get_file().
true if this file should be ignored in profiles
Definition at line 62 of file operf_sfile.h.
Referenced by opd_put_sample().
size_t operf_sfile::image_len |
Definition at line 44 of file operf_sfile.h.
Referenced by create_sfile(), do_match(), and operf_sfile_equal().
const char* operf_sfile::image_name |
Definition at line 42 of file operf_sfile.h.
Referenced by create_sfile(), do_match(), mangle_filename(), operf_open_sample_file(), operf_sfile_equal(), and verbose_print_sample().
bool operf_sfile::is_anon |
Definition at line 53 of file operf_sfile.h.
Referenced by create_sfile(), do_match(), mangle_filename(), operf_open_sample_file(), operf_sfile_equal(), operf_sfile_log_arc(), operf_sfile_log_sample_count(), and verbose_print_sample().
struct operf_kernel_image* operf_sfile::kernel [read] |
kernel image if applicable
Definition at line 52 of file operf_sfile.h.
Referenced by create_sfile(), do_match(), is_sfile_kernel(), mangle_filename(), operf_open_sample_file(), operf_sfile_equal(), operf_sfile_log_arc(), operf_sfile_log_sample_count(), sfile_log_arc(), sfile_log_sample_count(), and verbose_print_sample().
struct list_head operf_sfile::lru [read] |
lru list
Definition at line 60 of file operf_sfile.h.
Referenced by kill_sfile(), operf_sfile_dup(), operf_sfile_get(), and operf_sfile_put().
Definition at line 54 of file operf_sfile.h.
Referenced by create_sfile(), mangle_anon(), operf_open_sample_file(), operf_sfile_log_arc(), operf_sfile_log_sample_count(), and verbose_print_sample().
pid_t operf_sfile::tgid |
thread group ID, -1 if not set
Definition at line 48 of file operf_sfile.h.
Referenced by create_sfile(), do_match(), mangle_anon(), mangle_filename(), operf_sfile_equal(), and verbose_print_sample().
pid_t operf_sfile::tid |
thread ID, -1 if not set
Definition at line 46 of file operf_sfile.h.
Referenced by create_sfile(), do_match(), mangle_filename(), and operf_sfile_equal().