operf_sfile Struct Reference

#include <operf_sfile.h>

Collaboration diagram for operf_sfile:
Collaboration graph
[legend]

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_imagekernel
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_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 39 of file operf_sfile.h.


Field Documentation

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

extended sample files

Definition at line 66 of file operf_sfile.h.

Referenced by create_sfile().

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

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

Definition at line 44 of file operf_sfile.h.

Referenced by create_sfile(), do_match(), and operf_sfile_equal().

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

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

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


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

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1