opd_proc Struct Reference

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

#include <opd_proc.h>

Collaboration diagram for opd_proc:
Collaboration graph
[legend]

List of all members.

Public Attributes

struct list_head maps
 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.
char const * name
 process name
pid_t tid
 thread id for this process, always equal to tgid for 2.2 kernel
pid_t tgid
 thread group id for this process
int accessed
 non-zero if this process receive any samples, this field is used with dead field to defer opd_proc deletion
int dead
 Set to non-zero when an exit notification occur for this process.
struct list_head next
 used by container of opd_proc

Detailed Description

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


Member Data Documentation

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

Referenced by opd_handle_exit(), and opd_new_proc().

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

Referenced by 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

Referenced by opd_add_mapping(), opd_handle_fork(), opd_kill_maps(), and opd_new_proc().

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

used by container of opd_proc

Referenced by opd_get_proc(), and opd_new_proc().

thread group id for this process

Referenced by opd_add_kernel_map(), opd_get_proc(), and opd_new_proc().

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

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


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

Generated on 27 Aug 2012 for oprofile by  doxygen 1.6.1