GDB (xrefs)
|
#include "defs.h"
#include <sys/types.h>
#include <sys/procfs.h>
#include <sys/syscall.h>
#include <sys/fault.h>
#include "proc-utils.h"
Go to the source code of this file.
Classes | |
struct | trans |
Macros | |
#define | MAX_SYSCALLS 262 /* Pretty arbitrary. */ |
Functions | |
static void | init_syscall_table (void) |
void | proc_prettyfprint_syscall (FILE *file, int num, int verbose) |
void | proc_prettyprint_syscall (int num, int verbose) |
void | proc_prettyfprint_syscalls (FILE *file, sysset_t *sysset, int verbose) |
void | proc_prettyprint_syscalls (sysset_t *sysset, int verbose) |
void | proc_prettyfprint_signal (FILE *file, int signo, int verbose) |
void | proc_prettyprint_signal (int signo, int verbose) |
void | proc_prettyfprint_signalset (FILE *file, sigset_t *sigset, int verbose) |
void | proc_prettyprint_signalset (sigset_t *sigset, int verbose) |
static void | prettyfprint_faulttable_entry (FILE *file, int i, int verbose) |
void | proc_prettyfprint_fault (FILE *file, int faultno, int verbose) |
void | proc_prettyprint_fault (int faultno, int verbose) |
void | proc_prettyfprint_faultset (FILE *file, fltset_t *fltset, int verbose) |
void | proc_prettyprint_faultset (fltset_t *fltset, int verbose) |
void | proc_prettyprint_actionset (struct sigaction *actions, int verbose) |
void | _initialize_proc_events () |
Variables | |
static const char * | syscall_table [MAX_SYSCALLS] |
static struct trans | signal_table [] |
static struct trans | fault_table [] |
#define MAX_SYSCALLS 262 /* Pretty arbitrary. */ |
Definition at line 58 of file proc-events.c.
Referenced by proc_prettyfprint_syscalls().
void _initialize_proc_events | ( | ) |
Definition at line 765 of file proc-events.c.
References init_syscall_table().
|
static |
Definition at line 62 of file proc-events.c.
References syscall_table.
Referenced by _initialize_proc_events().
|
static |
Definition at line 698 of file proc-events.c.
References trans::desc, fault_table, and name.
Referenced by proc_prettyfprint_fault(), and proc_prettyfprint_faultset().
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_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_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_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_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().
|
static |
Definition at line 678 of file proc-events.c.
Referenced by prettyfprint_faulttable_entry(), proc_prettyfprint_fault(), and proc_prettyfprint_faultset().
|
static |
Definition at line 567 of file proc-events.c.
Referenced by proc_prettyfprint_signal().
|
static |
Definition at line 59 of file proc-events.c.
Referenced by init_syscall_table(), and proc_prettyfprint_syscall().