track process, created either by a fork or an exec notification. More...
#include <opd_proc.h>

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 | |
track process, created either by a fork or an exec notification.
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().
| int opd_proc::dead |
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 |
process name
Referenced by opd_add_kernel_map(), opd_add_mapping(), opd_handle_exec(), opd_handle_fork(), opd_handle_mapping(), and opd_new_proc().
struct list_head opd_proc::next [read] |
used by container of opd_proc
Referenced by opd_get_proc(), and opd_new_proc().
| pid_t opd_proc::tgid |
thread group id for this process
Referenced by opd_add_kernel_map(), opd_get_proc(), and opd_new_proc().
| pid_t opd_proc::tid |
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().
1.6.1