sfile Struct Reference

#include <opd_sfile.h>

Collaboration diagram for sfile:
Collaboration graph
[legend]

Data Fields

unsigned long hashval
cookie_t cookie
cookie_t app_cookie
pid_t tid
pid_t tgid
unsigned int cpu
struct kernel_imagekernel
struct anon_mappinganon
uint64_t embedded_offset
struct list_head hash
struct list_head lru
int ignored
odb_t files [OP_MAX_COUNTERS]
odb_text_files
struct list_head cg_hash [CG_HASH_SIZE]

Detailed Description

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.


Field Documentation

struct anon_mapping* sfile::anon [read]

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().

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().

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]
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().


The documentation for this struct was generated from the following file:

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1