opd_proc Struct Reference

#include <opd_proc.h>

Collaboration diagram for opd_proc:
Collaboration graph
[legend]

Data Fields

struct list_head maps
char const * name
pid_t tid
pid_t tgid
int accessed
int dead
struct list_head next

Detailed Description

track process, created either by a fork or an exec notification.

Definition at line 26 of file opd_proc.h.


Field Documentation

non-zero if this process receive any samples, this field is used with dead field to defer opd_proc deletion

Definition at line 39 of file opd_proc.h.

Referenced by opd_age_proc(), opd_handle_exit(), opd_lookup_maps(), and opd_new_proc().

Set to non-zero when an exit notification occur for this process

Definition at line 41 of file opd_proc.h.

Referenced by opd_age_proc(), opd_handle_exit(), and opd_new_proc().

struct list_head opd_proc::maps [read]

maps are always added to the end of head, so search will be done from the newest map to the oldest which mean we don't care about munmap. First added map must be the primary image

Definition at line 30 of file opd_proc.h.

Referenced by opd_add_mapping(), opd_get_ascii_maps(), opd_handle_fork(), opd_kill_maps(), opd_lookup_maps(), opd_new_proc(), and opd_remove_kernel_mapping().

char const* opd_proc::name
struct list_head opd_proc::next [read]

used by container of opd_proc

Definition at line 43 of file opd_proc.h.

Referenced by opd_delete_proc(), opd_for_each_proc(), opd_get_proc(), and opd_new_proc().

thread group id for this process

Definition at line 36 of file opd_proc.h.

Referenced by opd_add_ascii_map(), opd_add_kernel_map(), opd_get_ascii_maps(), opd_get_ascii_procs(), opd_get_proc(), and opd_new_proc().

thread id for this process, always equal to tgid for 2.2 kernel

Definition at line 34 of file opd_proc.h.

Referenced by opd_add_ascii_map(), opd_add_kernel_map(), opd_add_mapping(), opd_get_ascii_maps(), opd_get_proc(), and opd_new_proc().


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

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1