Each set of sample files (where a set is over the physical counter types) will have one of these for it. More...
#include <operf_sfile.h>

Public Attributes | |
| unsigned long | hashval |
| hash value for this sfile | |
| const char * | image_name |
| const char * | app_filename |
| size_t | image_len |
| size_t | app_len |
| pid_t | tid |
| thread ID, -1 if not set | |
| pid_t | tgid |
| thread group ID, -1 if not set | |
| unsigned int | cpu |
| CPU number. | |
| struct operf_kernel_image * | kernel |
| kernel image if applicable | |
| bool | is_anon |
| vma_t | start_addr |
| vma_t | end_addr |
| struct list_head | hash |
| hash table link | |
| struct list_head | lru |
| lru list | |
| int | ignored |
| true if this file should be ignored in profiles | |
| odb_t | files [OP_MAX_COUNTERS] |
| opened sample files | |
| odb_t * | ext_files |
| extended sample files | |
| struct list_head | cg_hash [CG_HASH_SIZE] |
| hash table of opened cg sample files | |
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.
| const char* operf_sfile::app_filename |
Referenced by operf_sfile_equal().
| size_t operf_sfile::app_len |
Referenced by operf_sfile_equal().
struct list_head operf_sfile::cg_hash[CG_HASH_SIZE] [read] |
hash table of opened cg sample files
Referenced by operf_sfile_dup().
| unsigned int operf_sfile::cpu |
CPU number.
Referenced by operf_sfile_equal().
extended sample files
| odb_t operf_sfile::files[OP_MAX_COUNTERS] |
opened sample files
Referenced by operf_sfile_dup().
struct list_head operf_sfile::hash [read] |
hash table link
Referenced by operf_sfile_dup(), and operf_sfile_find().
| unsigned long operf_sfile::hashval |
hash value for this sfile
true if this file should be ignored in profiles
| size_t operf_sfile::image_len |
Referenced by operf_sfile_equal().
| const char* operf_sfile::image_name |
Referenced by operf_open_sample_file(), and operf_sfile_equal().
| bool operf_sfile::is_anon |
Referenced by operf_open_sample_file(), operf_sfile_equal(), operf_sfile_log_arc(), and operf_sfile_log_sample_count().
struct operf_kernel_image* operf_sfile::kernel [read] |
kernel image if applicable
Referenced by operf_open_sample_file(), operf_sfile_equal(), operf_sfile_log_arc(), and operf_sfile_log_sample_count().
struct list_head operf_sfile::lru [read] |
lru list
Referenced by operf_sfile_dup(), operf_sfile_get(), operf_sfile_lru_clear(), and operf_sfile_put().
Referenced by operf_open_sample_file(), operf_sfile_log_arc(), and operf_sfile_log_sample_count().
| pid_t operf_sfile::tgid |
thread group ID, -1 if not set
Referenced by operf_sfile_equal().
| pid_t operf_sfile::tid |
thread ID, -1 if not set
Referenced by operf_sfile_equal().
1.6.1