From: Ben Gras Date: Wed, 27 Jul 2005 14:30:17 +0000 (+0000) Subject: Prettify scheduling queue prints X-Git-Tag: v3.1.0~510 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.rndc.html?a=commitdiff_plain;h=b924ce0726868aeb40b27c3d95b644a591310dc2;p=minix.git Prettify scheduling queue prints --- diff --git a/servers/is/dmp_kernel.c b/servers/is/dmp_kernel.c index b04678b9e..6331ea820 100644 --- a/servers/is/dmp_kernel.c +++ b/servers/is/dmp_kernel.c @@ -212,7 +212,6 @@ PUBLIC void image_dmp() PUBLIC void sched_dmp() { struct proc *rdy_head[NR_SCHED_QUEUES]; - char *types[] = {"task","higher","high","normal","low","lower","user","idle"}; struct kinfo kinfo; register struct proc *rp; vir_bytes ptr_diff; @@ -244,13 +243,14 @@ PUBLIC void sched_dmp() printf("Dumping scheduling queues.\n"); for (r=0;rp_nr); + printf("%3d ", rp->p_nr); rp = rp->p_nextready; } - printf("NIL\n"); + printf("\n"); } printf("\n"); }