#include <opd_sfile.h>
Data Fields | |
unsigned long | hashval |
cookie_t | cookie |
cookie_t | app_cookie |
pid_t | tid |
pid_t | tgid |
unsigned int | cpu |
struct kernel_image * | kernel |
struct anon_mapping * | anon |
uint64_t | embedded_offset |
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 37 of file opd_sfile.h.
struct anon_mapping* sfile::anon [read] |
anonymous mapping
Definition at line 53 of file opd_sfile.h.
Referenced by create_sfile(), do_match(), get_dep_name(), is_sf_ignored(), is_sfile_anon(), mangle_filename(), opd_open_sample_file(), sfile_equal(), and verbose_print_sample().
cookie value for the application owner, INVALID_COOKIE if not set
Definition at line 43 of file opd_sfile.h.
Referenced by create_sfile(), do_match(), get_dep_name(), is_sf_ignored(), sfile_equal(), and verbose_print_sample().
struct list_head sfile::cg_hash[CG_HASH_SIZE] [read] |
hash table of opened cg sample files
Definition at line 68 of file opd_sfile.h.
Referenced by create_sfile(), for_one_sfile(), get_file(), ibs_sfile_get(), and sfile_dup().
cookie value for the binary profiled
Definition at line 41 of file opd_sfile.h.
Referenced by create_sfile(), do_match(), get_dep_name(), is_sf_ignored(), mangle_filename(), opd_open_sample_file(), sfile_equal(), and verbose_print_sample().
unsigned int sfile::cpu |
CPU number
Definition at line 49 of file opd_sfile.h.
Referenced by create_sfile(), do_match(), mangle_filename(), and sfile_equal().
uint64_t sfile::embedded_offset |
embedded offset for Cell BE SPU
Definition at line 55 of file opd_sfile.h.
Referenced by create_sfile(), and opd_open_sample_file().
extended sample files
Definition at line 66 of file opd_sfile.h.
Referenced by create_sfile(), ibs_sfile_close(), ibs_sfile_create(), ibs_sfile_dup(), ibs_sfile_get(), and ibs_sfile_sync().
odb_t sfile::files[OP_MAX_COUNTERS] |
opened sample files
Definition at line 64 of file opd_sfile.h.
Referenced by close_sfile(), create_sfile(), get_file(), sfile_dup(), and sync_sfile().
struct list_head sfile::hash [read] |
hash table link
Definition at line 58 of file opd_sfile.h.
Referenced by kill_sfile(), sfile_dup(), and sfile_find().
unsigned long sfile::hashval |
hash value for this sfile
Definition at line 39 of file opd_sfile.h.
Referenced by create_sfile(), get_file(), and ibs_sfile_get().
int sfile::ignored |
true if this file should be ignored in profiles
Definition at line 62 of file opd_sfile.h.
Referenced by create_sfile().
struct kernel_image* sfile::kernel [read] |
kernel image if applicable
Definition at line 51 of file opd_sfile.h.
Referenced by create_sfile(), do_match(), get_dep_name(), is_sf_ignored(), is_sfile_kernel(), mangle_filename(), opd_open_sample_file(), sfile_equal(), and verbose_print_sample().
struct list_head sfile::lru [read] |
lru list
Definition at line 60 of file opd_sfile.h.
Referenced by kill_sfile(), sfile_dup(), sfile_get(), and sfile_put().
pid_t sfile::tgid |
thread group ID, -1 if not set
Definition at line 47 of file opd_sfile.h.
Referenced by create_sfile(), do_match(), mangle_filename(), and sfile_equal().
pid_t sfile::tid |
thread ID, -1 if not set
Definition at line 45 of file opd_sfile.h.
Referenced by create_sfile(), do_match(), mangle_filename(), and sfile_equal().