23 #define _STRUCTURED_PROC 1 25 #include <sys/types.h> 26 #include <sys/procfs.h> 48 { PR_REQUESTED,
"PR_REQUESTED",
49 "Directed to stop by debugger via P(IO)CSTOP or P(IO)CWSTOP" },
50 { PR_SIGNALLED,
"PR_SIGNALLED",
"Receipt of a traced signal" },
51 { PR_SYSENTRY,
"PR_SYSENTRY",
"Entry to a traced system call" },
52 { PR_SYSEXIT,
"PR_SYSEXIT",
"Exit from a traced system call" },
53 { PR_JOBCONTROL,
"PR_JOBCONTROL",
"Default job control stop signal action" },
54 { PR_FAULTED,
"PR_FAULTED",
"Incurred a traced hardware fault" },
55 { PR_SUSPENDED,
"PR_SUSPENDED",
"Process suspended" },
56 { PR_CHECKPOINT,
"PR_CHECKPOINT",
"Process stopped at checkpoint" },
88 fprintf (file,
"Entry to ");
92 fprintf (file,
"Exit from ");
99 fprintf (file,
"Unknown why %ld, what %ld\n", why, what);
102 fprintf (file,
"\n");
107 fprintf (file,
"Unknown pr_why.\n");
void proc_prettyfprint_why(FILE *file, unsigned long why, unsigned long what, int verbose)
void proc_prettyprint_why(unsigned long why, unsigned long what, int verbose)
static struct trans pr_why_table[]
void proc_prettyfprint_signal(FILE *file, int signo, int verbose)
void proc_prettyfprint_fault(FILE *file, int faultno, int verbose)
void proc_prettyfprint_syscall(FILE *file, int num, int verbose)