diff options
author | julian <julian@FreeBSD.org> | 2003-02-27 02:05:19 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2003-02-27 02:05:19 +0000 |
commit | 3fc9836d46e83fd0a5d0daa46f5639be3db193c1 (patch) | |
tree | 91973dfb2c47deb06ea09f1614aa486db1bd95dd /sys/ddb/db_ps.c | |
parent | ef32e2b20964fad2388f8146483b4dc4bc569c2f (diff) | |
download | FreeBSD-src-3fc9836d46e83fd0a5d0daa46f5639be3db193c1.zip FreeBSD-src-3fc9836d46e83fd0a5d0daa46f5639be3db193c1.tar.gz |
Change the process flags P_KSES to be P_THREADED.
This is just a cosmetic change but I've been meaning to do it for about a year.
Diffstat (limited to 'sys/ddb/db_ps.c')
-rw-r--r-- | sys/ddb/db_ps.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ddb/db_ps.c b/sys/ddb/db_ps.c index a21764e..430dae8 100644 --- a/sys/ddb/db_ps.c +++ b/sys/ddb/db_ps.c @@ -125,7 +125,7 @@ db_ps(dummy1, dummy2, dummy3, dummy4) p->p_ucred != NULL ? p->p_ucred->cr_ruid : 0, pp->p_pid, p->p_pgrp != NULL ? p->p_pgrp->pg_id : 0, p->p_flag, state); - if (p->p_flag & P_KSES) + if (p->p_flag & P_THREADED) db_printf("(threaded) %s\n", p->p_comm); FOREACH_THREAD_IN_PROC(p, td) { dumpthread(p, td); @@ -141,7 +141,7 @@ db_ps(dummy1, dummy2, dummy3, dummy4) static void dumpthread(volatile struct proc *p, volatile struct thread *td) { - if (p->p_flag & P_KSES) + if (p->p_flag & P_THREADED) db_printf( " thread %p ksegrp %p ", td, td->td_ksegrp); if (TD_ON_SLEEPQ(td)) { if (td->td_flags & TDF_CVWAITQ) @@ -183,7 +183,7 @@ dumpthread(volatile struct proc *p, volatile struct thread *td) default: panic("unknown thread state"); } - if (p->p_flag & P_KSES) { + if (p->p_flag & P_THREADED) { if (td->td_kse) db_printf("[kse %p]", td->td_kse); db_printf("\n"); |