- Adjust the whitespace for the lines that output fields in 'show pcpu' in

DDB so that all the fields line up.
- Print out the tid of the per-CPU idlethread instead of the pid since
  the idle process is now shared across all idle threads.

MFC after:	1 month
This commit is contained in:
John Baldwin 2010-05-21 17:17:56 +00:00
parent 1d7830edd5
commit e826ef1ec4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=208392
4 changed files with 17 additions and 18 deletions

View file

@ -351,8 +351,7 @@ show_pcpu(struct pcpu *pc)
db_printf("idlethread = ");
td = pc->pc_idlethread;
if (td != NULL)
db_printf("%p: pid %d \"%s\"\n", td, td->td_proc->p_pid,
td->td_name);
db_printf("%p: tid %d \"%s\"\n", td, td->td_tid, td->td_name);
else
db_printf("none\n");
db_show_mdpcpu(pc);