#include <opd_proc.h>
Data Fields | |
struct list_head | maps |
char const * | name |
pid_t | tid |
pid_t | tgid |
int | accessed |
int | dead |
struct list_head | next |
track process, created either by a fork or an exec notification.
Definition at line 26 of file opd_proc.h.
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().
int opd_proc::dead |
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 |
process name
Definition at line 32 of file opd_proc.h.
Referenced by opd_add_kernel_map(), opd_add_mapping(), opd_delete_proc(), opd_get_ascii_maps(), 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
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().
pid_t opd_proc::tgid |
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().
pid_t opd_proc::tid |
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().