mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-03 15:15:01 +00:00
- 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:
parent
1d7830edd5
commit
e826ef1ec4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=208392
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue