PERFORCE change 107471 for review

John Birrell jb at FreeBSD.org
Sat Oct 7 17:52:10 PDT 2006


http://perforce.freebsd.org/chv.cgi?CH=107471

Change 107471 by jb at 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);


More information about the p4-projects mailing list