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 */
 };
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to