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

Public Attributes | |
| unsigned long | hashval |
| hash value for this sfile | |
| cookie_t | cookie |
| cookie value for the binary profiled | |
| cookie_t | app_cookie |
| cookie value for the application owner, INVALID_COOKIE if not set | |
| 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 kernel_image * | kernel |
| kernel image if applicable | |
| struct anon_mapping * | anon |
| anonymous mapping | |
| uint64_t | embedded_offset |
| embedded offset for Cell BE SPU | |
| 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.
struct anon_mapping* sfile::anon [read] |
anonymous mapping
Referenced by opd_open_sample_file(), and sfile_equal().
cookie value for the application owner, INVALID_COOKIE if not set
Referenced by sfile_equal().
struct list_head sfile::cg_hash[CG_HASH_SIZE] [read] |
hash table of opened cg sample files
Referenced by sfile_dup().
cookie value for the binary profiled
Referenced by opd_open_sample_file(), and sfile_equal().
| unsigned int sfile::cpu |
CPU number.
Referenced by sfile_equal().
| uint64_t sfile::embedded_offset |
embedded offset for Cell BE SPU
Referenced by opd_open_sample_file().
extended sample files
| odb_t sfile::files[OP_MAX_COUNTERS] |
opened sample files
Referenced by sfile_dup().
struct list_head sfile::hash [read] |
hash table link
Referenced by sfile_dup(), and sfile_find().
| unsigned long sfile::hashval |
hash value for this sfile
| int sfile::ignored |
true if this file should be ignored in profiles
struct kernel_image* sfile::kernel [read] |
kernel image if applicable
Referenced by opd_open_sample_file(), and sfile_equal().
struct list_head sfile::lru [read] |
lru list
Referenced by sfile_dup(), sfile_get(), sfile_lru_clear(), and sfile_put().
| pid_t sfile::tgid |
thread group ID, -1 if not set
Referenced by sfile_equal().
| pid_t sfile::tid |
thread ID, -1 if not set
Referenced by sfile_equal().
1.6.1