Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/subr_pcpu.c
Show First 20 Lines • Show All 372 Lines • ▼ Show 20 Lines | show_pcpu(struct pcpu *pc) | ||||
if (td != NULL) | if (td != NULL) | ||||
db_printf("%p: tid %d \"%s\"\n", td, td->td_tid, td->td_name); | db_printf("%p: tid %d \"%s\"\n", td, td->td_tid, td->td_name); | ||||
else | else | ||||
db_printf("none\n"); | db_printf("none\n"); | ||||
db_show_mdpcpu(pc); | db_show_mdpcpu(pc); | ||||
#ifdef VIMAGE | #ifdef VIMAGE | ||||
db_printf("curvnet = %p\n", pc->pc_curthread->td_vnet); | db_printf("curvnet = %p\n", pc->pc_curthread->td_vnet); | ||||
db_printf("curvps = %p\n", pc->pc_curthread->td_vps); | |||||
#endif | #endif | ||||
#ifdef WITNESS | #ifdef WITNESS | ||||
db_printf("spin locks held:\n"); | db_printf("spin locks held:\n"); | ||||
witness_list_locks(&pc->pc_spinlocks, db_printf); | witness_list_locks(&pc->pc_spinlocks, db_printf); | ||||
#endif | #endif | ||||
} | } | ||||
Show All 33 Lines |