31#include <sys/procfs.h>
52 { PR_STOPPED,
"PR_STOPPED",
"Process (LWP) is stopped" },
54 { PR_ISTOP,
"PR_ISTOP",
"Stopped on an event of interest" },
56 { PR_DSTOP,
"PR_DSTOP",
"A stop directive is in effect" },
58 { PR_STEP,
"PR_STEP",
"A single step directive is in effect" },
60 { PR_ASLEEP,
"PR_ASLEEP",
"Sleeping in an (interruptible) system call" },
62 { PR_PCINVAL,
"PR_PCINVAL",
"PC (pr_instr) is invalid" },
64 { PR_ASLWP,
"PR_ASLWP",
"This is the asynchronous signal LWP" },
66 { PR_AGENT,
"PR_AGENT",
"This is the /proc agent LWP" },
68 { PR_ISSYS,
"PR_ISSYS",
"Is a system process/thread" },
70 { PR_VFORKP,
"PR_VFORKP",
"Process is the parent of a vforked child" },
72 { PR_ORPHAN,
"PR_ORPHAN",
"Process's process group is orphaned" },
74 { PR_FORK,
"PR_FORK",
"Inherit-on-fork is in effect" },
76 { PR_RLC,
"PR_RLC",
"Run-on-last-close is in effect" },
78 { PR_KLC,
"PR_KLC",
"Kill-on-last-close is in effect" },
80 { PR_ASYNC,
"PR_ASYNC",
"Asynchronous stop is in effect" },
82 { PR_MSACCT,
"PR_MSACCT",
"Microstate accounting enabled" },
84 { PR_BPTADJ,
"PR_BPTADJ",
"Breakpoint PC adjustment in effect" },
86 { PR_PTRACE,
"PR_PTRACE",
"Process is being controlled by ptrace" },
88 { PR_MSFORK,
"PR_PCOMPAT",
"Micro-state accounting inherited on fork" },
104 fprintf (file,
"\n");
mach_port_t kern_return_t mach_port_t mach_msg_type_name_t msgportsPoly mach_port_t kern_return_t pid_t pid mach_port_t kern_return_t mach_port_t task mach_port_t kern_return_t int flags
static struct trans pr_flag_table[]
void proc_prettyprint_flags(unsigned long flags, int verbose)
void proc_prettyfprint_flags(FILE *file, unsigned long flags, int verbose)