svn commit: r334550 - head/sys/cddl/dev/profile

Justin Hibbits jhibbits at FreeBSD.org
Sun Jun 3 03:53:12 UTC 2018


Author: jhibbits
Date: Sun Jun  3 03:53:11 2018
New Revision: 334550
URL: https://svnweb.freebsd.org/changeset/base/334550

Log:
  Revert r326083, it doesn't behave as expected.
  
  Even though there do appear to be more artificial frames, with 12, stack
  traces no longer list at all.  Revert until a better, more stable value can
  be determined.

Modified:
  head/sys/cddl/dev/profile/profile.c

Modified: head/sys/cddl/dev/profile/profile.c
==============================================================================
--- head/sys/cddl/dev/profile/profile.c	Sun Jun  3 02:58:53 2018	(r334549)
+++ head/sys/cddl/dev/profile/profile.c	Sun Jun  3 03:53:11 2018	(r334550)
@@ -124,7 +124,7 @@
 /*
  * This value is bogus just to make module compilable on powerpc
  */
-#define	PROF_ARTIFICIAL_FRAMES	12
+#define	PROF_ARTIFICIAL_FRAMES	3
 #endif
 
 struct profile_probe_percpu;


More information about the svn-src-all mailing list