tracedump
single application IP packet sniffer
|
#include "tracedump.h"
Go to the source code of this file.
Functions | |
struct pid * | pid_get (struct tracedump *td, pid_t pid) |
Get struct pid for given pid number. | |
void | pid_del (struct tracedump *td, pid_t pid) |
Remove given pid from the database. | |
void | pid_detach_all (struct tracedump *td) |
Detach from all pids. | |
int | pid_tgid (pid_t pid) |
Get thread group id. |
void pid_del | ( | struct tracedump * | td, |
pid_t | pid | ||
) |
Remove given pid from the database.
Definition at line 29 of file pid.c.
Referenced by main(), and pid_detach_all().
void pid_detach_all | ( | struct tracedump * | td | ) |
Get struct pid for given pid number.
Definition at line 9 of file pid.c.
Referenced by main(), and ptrace_attach_pid().
int pid_tgid | ( | pid_t | pid | ) |
Get thread group id.
0 | error |
Definition at line 46 of file pid.c.
Referenced by ptrace_detach().