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 "."
 
_______________________________________________
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