svn commit: r266888 - stable/10/sys/sys

George V. Neville-Neil gnn at FreeBSD.org
Fri May 30 14:58:07 UTC 2014


Author: gnn
Date: Fri May 30 14:58:06 2014
New Revision: 266888
URL: http://svnweb.freebsd.org/changeset/base/266888

Log:
  MFC: 266171, 266174
  
  Extend the size of the function or symbol that can be annotated.
  
  Update the amount of data we can collect for hwpmc(4) by default
  to work with modern processors and available memory.

Modified:
  stable/10/sys/sys/pmc.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/sys/pmc.h
==============================================================================
--- stable/10/sys/sys/pmc.h	Fri May 30 14:30:52 2014	(r266887)
+++ stable/10/sys/sys/pmc.h	Fri May 30 14:58:06 2014	(r266888)
@@ -597,12 +597,12 @@ struct pmc_op_getdyneventinfo {
 
 #include <machine/frame.h>
 
-#define	PMC_HASH_SIZE				16
-#define	PMC_MTXPOOL_SIZE			32
+#define	PMC_HASH_SIZE				1024
+#define	PMC_MTXPOOL_SIZE			2048
 #define	PMC_LOG_BUFFER_SIZE			4
-#define	PMC_NLOGBUFFERS				64
-#define	PMC_NSAMPLES				512
-#define	PMC_CALLCHAIN_DEPTH			8
+#define	PMC_NLOGBUFFERS				1024
+#define	PMC_NSAMPLES				1024
+#define	PMC_CALLCHAIN_DEPTH			16
 
 #define PMC_SYSCTL_NAME_PREFIX "kern." PMC_MODULE_NAME "."
 


More information about the svn-src-stable mailing list