opd_image Struct Reference

#include <opd_image.h>

Collaboration diagram for opd_image:
Collaboration graph
[legend]

Data Fields

struct list_head hash_next
int ref_count
struct opd_24_sfile ** sfiles [NR_CPUS]
char * name
char * app_name
pid_t tid
pid_t tgid
time_t mtime
int kernel
int ignored

Detailed Description

A binary (library, application, kernel or module) is represented by a struct opd_image.

Definition at line 27 of file opd_image.h.


Field Documentation

the application name where belongs this image, NULL if image has no owner (such as vmlinux or module)

Definition at line 38 of file opd_image.h.

Referenced by is_same_image(), opd_delete_image(), opd_mangle_filename(), and opd_new_image().

used by container of opd_images

Definition at line 29 of file opd_image.h.

Referenced by opd_delete_image(), opd_for_each_image(), and opd_new_image().

non zero if this image must be profiled

Definition at line 48 of file opd_image.h.

Referenced by opd_new_image(), and opd_put_image_sample().

kernel image or not

Definition at line 46 of file opd_image.h.

Referenced by opd_delete_image(), opd_handle_fork(), opd_mangle_filename(), opd_new_image(), and opd_open_24_sample_file().

time of last modification

Definition at line 44 of file opd_image.h.

Referenced by opd_new_image(), and opd_open_24_sample_file().

how many time this opd_image is referenced

Definition at line 31 of file opd_image.h.

Referenced by opd_add_mapping(), opd_delete_image(), opd_get_module_info(), opd_init_kernel_image(), and opd_new_image().

struct opd_24_sfile** opd_image::sfiles[NR_CPUS] [read]

all samples files belonging to this image

Definition at line 33 of file opd_image.h.

Referenced by opd_close_image_samples_files(), opd_new_image(), opd_open_24_sample_file(), and opd_put_image_sample().

thread group id

Definition at line 42 of file opd_image.h.

Referenced by is_same_image(), opd_delete_image(), opd_mangle_filename(), opd_new_image(), and read_tgid().

thread id, on 2.2 kernel always == to tgid

Definition at line 40 of file opd_image.h.

Referenced by is_same_image(), opd_delete_image(), opd_mangle_filename(), and opd_new_image().


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

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1