Date: Fri, 12 Dec 2008 14:57:25 +0000 (UTC) From: Joseph Koshy <jkoshy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r185989 - head/sys/sys Message-ID: <200812121457.mBCEvPZL000688@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */ };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812121457.mBCEvPZL000688>