svn commit: r185989 - head/sys/sys

Joseph Koshy jkoshy at FreeBSD.org
Fri Dec 12 14:57:25 UTC 2008


Author: jkoshy
Date: Fri Dec 12 14:57:25 2008
New Revision: 185989
URL: http://svn.freebsd.org/changeset/base/185989

Log:
  Add a field to disambiguate between multiple threads awaiting
  callchain capture.

Modified:
  head/sys/sys/pmc.h

Modified: head/sys/sys/pmc.h
==============================================================================
--- head/sys/sys/pmc.h	Fri Dec 12 14:06:21 2008	(r185988)
+++ head/sys/sys/pmc.h	Fri Dec 12 14:57:25 2008	(r185989)
@@ -814,6 +814,7 @@ struct pmc_sample {
 	uint8_t			ps_cpu;		/* cpu number */
 	uint8_t			ps_flags;	/* other flags */
 	pid_t			ps_pid;		/* process PID or -1 */
+	struct thread		*ps_td;		/* which thread */
 	struct pmc		*ps_pmc;	/* interrupting PMC */
 	uintptr_t		*ps_pc;		/* (const) callchain start */
 };


More information about the svn-src-head mailing list