GDB (xrefs)
|
Go to the source code of this file.
Macros | |
#define | PROCFS_NOTE(X) procfs_note (X, __FILE__, __LINE__) |
#define | PROC_PRETTYFPRINT_STATUS(X, Y, Z, T) proc_prettyfprint_status (X, Y, Z, T) |
Typedefs | |
typedef long | procfs_ctl_t |
Functions | |
void | proc_prettyprint_why (unsigned long why, unsigned long what, int verbose) |
void | proc_prettyprint_syscalls (sysset_t *sysset, int verbose) |
void | proc_prettyprint_syscall (int num, int verbose) |
void | proc_prettyprint_signalset (sigset_t *sigset, int verbose) |
void | proc_prettyprint_signal (int signo, int verbose) |
void | proc_prettyprint_faultset (fltset_t *fltset, int verbose) |
void | proc_prettyprint_fault (int faultno, int verbose) |
void | proc_prettyprint_actionset (struct sigaction *actions, int verbose) |
void | proc_prettyfprint_signalset (FILE *file, sigset_t *sigset, int verbose) |
void | proc_prettyfprint_faultset (FILE *file, fltset_t *fltset, int verbose) |
void | proc_prettyfprint_syscall (FILE *file, int num, int verbose) |
void | proc_prettyfprint_signal (FILE *file, int signo, int verbose) |
void | proc_prettyfprint_flags (FILE *file, unsigned long flags, int verbose) |
void | proc_prettyfprint_why (FILE *file, unsigned long why, unsigned long what, int verbose) |
void | proc_prettyfprint_fault (FILE *file, int faultno, int verbose) |
void | proc_prettyfprint_syscalls (FILE *file, sysset_t *sysset, int verbose) |
void | proc_prettyfprint_status (long, int, int, int) |
void | proc_prettyprint_flags (unsigned long flags, int verbose) |
int | write_with_trace (int, void *, size_t, char *, int) |
off_t | lseek_with_trace (int, off_t, int, char *, int) |
int | ioctl_with_trace (int, long, void *, char *, int) |
pid_t | wait_with_trace (int *, char *, int) |
int | open_with_trace (char *, int, char *, int) |
int | close_with_trace (int, char *, int) |
void | procfs_note (const char *, const char *, int) |
#define PROC_PRETTYFPRINT_STATUS | ( | X, | |
Y, | |||
Z, | |||
T | |||
) | proc_prettyfprint_status (X, Y, Z, T) |
Definition at line 113 of file proc-utils.h.
#define PROCFS_NOTE | ( | X | ) | procfs_note (X, __FILE__, __LINE__) |
Definition at line 112 of file proc-utils.h.
typedef long procfs_ctl_t |
Definition at line 118 of file proc-utils.h.
int close_with_trace | ( | int | fd, |
char * | file, | ||
int | line | ||
) |
Definition at line 321 of file proc-api.c.
References info_verbose, prepare_to_trace(), procfs_file, and procfs_trace.
int ioctl_with_trace | ( | int | , |
long | , | ||
void * | , | ||
char * | , | ||
int | |||
) |
off_t lseek_with_trace | ( | int | fd, |
off_t | offset, | ||
int | whence, | ||
char * | file, | ||
int | line | ||
) |
Definition at line 259 of file proc-api.c.
References lseek_offset, prepare_to_trace(), procfs_file, and procfs_trace.
int open_with_trace | ( | char * | filename, |
int | mode, | ||
char * | file, | ||
int | line | ||
) |
Definition at line 280 of file proc-api.c.
References info_verbose, prepare_to_trace(), procfs_file, and procfs_trace.
void proc_prettyfprint_fault | ( | FILE * | file, |
int | faultno, | ||
int | verbose | ||
) |
Definition at line 710 of file proc-events.c.
References fault_table, and prettyfprint_faulttable_entry().
Referenced by proc_prettyfprint_why(), and proc_prettyprint_fault().
void proc_prettyfprint_faultset | ( | FILE * | file, |
fltset_t * | fltset, | ||
int | verbose | ||
) |
Definition at line 734 of file proc-events.c.
References fault_table, and prettyfprint_faulttable_entry().
Referenced by proc_prettyprint_faultset(), and write_with_trace().
void proc_prettyfprint_flags | ( | FILE * | file, |
unsigned long | flags, | ||
int | verbose | ||
) |
Definition at line 92 of file proc-flags.c.
References trans::desc, flags, name, and pr_flag_table.
Referenced by proc_prettyfprint_status(), and proc_prettyprint_flags().
void proc_prettyfprint_signal | ( | FILE * | file, |
int | signo, | ||
int | verbose | ||
) |
Definition at line 625 of file proc-events.c.
References trans::desc, name, and signal_table.
Referenced by proc_prettyfprint_signalset(), proc_prettyfprint_why(), proc_prettyprint_signal(), and write_with_trace().
void proc_prettyfprint_signalset | ( | FILE * | file, |
sigset_t * | sigset, | ||
int | verbose | ||
) |
Definition at line 651 of file proc-events.c.
References proc_prettyfprint_signal().
Referenced by proc_prettyprint_signalset(), and write_with_trace().
void proc_prettyfprint_status | ( | long | flags, |
int | why, | ||
int | what, | ||
int | thread | ||
) |
Definition at line 397 of file proc-api.c.
References flags, prepare_to_trace(), proc_prettyfprint_flags(), proc_prettyfprint_why(), procfs_file, and procfs_trace.
void proc_prettyfprint_syscall | ( | FILE * | file, |
int | num, | ||
int | verbose | ||
) |
Definition at line 526 of file proc-events.c.
References syscall_table.
Referenced by proc_prettyfprint_syscalls(), proc_prettyfprint_why(), and proc_prettyprint_syscall().
void proc_prettyfprint_syscalls | ( | FILE * | file, |
sysset_t * | sysset, | ||
int | verbose | ||
) |
Definition at line 543 of file proc-events.c.
References MAX_SYSCALLS, and proc_prettyfprint_syscall().
Referenced by proc_prettyprint_syscalls(), and write_with_trace().
void proc_prettyfprint_why | ( | FILE * | file, |
unsigned long | why, | ||
unsigned long | what, | ||
int | verbose | ||
) |
Definition at line 61 of file proc-why.c.
References trans::desc, name, pr_why_table, proc_prettyfprint_fault(), proc_prettyfprint_signal(), and proc_prettyfprint_syscall().
Referenced by proc_prettyfprint_status(), and proc_prettyprint_why().
void proc_prettyprint_actionset | ( | struct sigaction * | actions, |
int | verbose | ||
) |
Definition at line 759 of file proc-events.c.
void proc_prettyprint_fault | ( | int | faultno, |
int | verbose | ||
) |
Definition at line 726 of file proc-events.c.
References proc_prettyfprint_fault().
void proc_prettyprint_faultset | ( | fltset_t * | fltset, |
int | verbose | ||
) |
Definition at line 751 of file proc-events.c.
References proc_prettyfprint_faultset().
void proc_prettyprint_flags | ( | unsigned long | flags, |
int | verbose | ||
) |
Definition at line 108 of file proc-flags.c.
References flags, and proc_prettyfprint_flags().
Referenced by procfs_target::info_proc(), and procfs_target::wait().
void proc_prettyprint_signal | ( | int | signo, |
int | verbose | ||
) |
Definition at line 643 of file proc-events.c.
References proc_prettyfprint_signal().
void proc_prettyprint_signalset | ( | sigset_t * | sigset, |
int | verbose | ||
) |
Definition at line 668 of file proc-events.c.
References proc_prettyfprint_signalset().
void proc_prettyprint_syscall | ( | int | num, |
int | verbose | ||
) |
Definition at line 535 of file proc-events.c.
References proc_prettyfprint_syscall().
Referenced by procfs_target::wait().
void proc_prettyprint_syscalls | ( | sysset_t * | sysset, |
int | verbose | ||
) |
Definition at line 556 of file proc-events.c.
References proc_prettyfprint_syscalls().
void proc_prettyprint_why | ( | unsigned long | why, |
unsigned long | what, | ||
int | verbose | ||
) |
Definition at line 109 of file proc-why.c.
References proc_prettyfprint_why().
Referenced by do_attach(), procfs_target::info_proc(), and procfs_target::wait().
void procfs_note | ( | const char * | msg, |
const char * | file, | ||
int | line | ||
) |
Definition at line 382 of file proc-api.c.
References info_verbose, prepare_to_trace(), procfs_file, and procfs_trace.
pid_t wait_with_trace | ( | int * | wstat, |
char * | file, | ||
int | line | ||
) |
Definition at line 347 of file proc-api.c.
References info_verbose, prepare_to_trace(), procfs_file, and procfs_trace.
int write_with_trace | ( | int | fd, |
void * | varg, | ||
size_t | len, | ||
char * | file, | ||
int | line | ||
) |
Definition at line 119 of file proc-api.c.
References trans::desc, info_verbose, lseek_offset, name, trans::name, prepare_to_trace(), proc_prettyfprint_faultset(), proc_prettyfprint_signal(), proc_prettyfprint_signalset(), proc_prettyfprint_syscalls(), procfs_file, procfs_trace, and rw_table.