Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Oct 2006 00:52:09 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 107471 for review
Message-ID:  <200610080052.k980q95E071624@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=107471

Change 107471 by jb@jb_freebsd7 on 2006/10/08 00:51:19

	Add KSE option support.

Affected files ...

.. //depot/projects/dtrace/src/sys/ddb/db_ps.c#8 edit

Differences ...

==== //depot/projects/dtrace/src/sys/ddb/db_ps.c#8 (text+ko) ====

@@ -292,7 +292,12 @@
 		td = kdb_thread;
 
 	db_printf("Thread %d at %p:\n", td->td_tid, td);
+#ifdef KSE
+	db_printf(" proc (pid %d): %p ", td->td_proc->p_pid, td->td_proc);
+	db_printf(" ksegrp: %p\n", td->td_ksegrp);
+#else
 	db_printf(" proc (pid %d): %p\n", td->td_proc->p_pid, td->td_proc);
+#endif
 	if (td->td_name[0] != '\0')
 		db_printf(" name: %s\n", td->td_name);
 	db_printf(" flags: %#x ", td->td_flags);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610080052.k980q95E071624>