MCPcopy Create free account
hub / github.com/F-Stack/f-stack / db_print_pgrp_one

Function db_print_pgrp_one

freebsd/kern/kern_proc.c:986–994  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

984#ifdef DDB
985
986static void
987db_print_pgrp_one(struct pgrp *pgrp, struct proc *p)
988{
989 db_printf(
990 " pid %d at %p pr %d pgrp %p e %d jc %d\n",
991 p->p_pid, p, p->p_pptr == NULL ? -1 : p->p_pptr->p_pid,
992 p->p_pgrp, (p->p_treeflag & P_TREE_GRPEXITED) != 0,
993 p->p_pptr == NULL ? 0 : isjobproc(p->p_pptr, pgrp));
994}
995
996DB_SHOW_COMMAND(pgrpdump, pgrpdump)
997{

Callers 1

kern_proc.cFile · 0.85

Calls 2

db_printfFunction · 0.85
isjobprocFunction · 0.85

Tested by

no test coverage detected