Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2017 01:53:59 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r326083 - head/sys/cddl/dev/profile
Message-ID:  <201711220153.vAM1rxsO000452@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Wed Nov 22 01:53:59 2017
New Revision: 326083
URL: https://svnweb.freebsd.org/changeset/base/326083

Log:
  PowerPC has 12 artificial frames for the profiler
  
  It may need to be different between AIM and Book-E, this was tested only on
  Book-E (64- and 32-bit)
  
  MFC after:	3 weeks

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

Modified: head/sys/cddl/dev/profile/profile.c
==============================================================================
--- head/sys/cddl/dev/profile/profile.c	Wed Nov 22 01:50:23 2017	(r326082)
+++ head/sys/cddl/dev/profile/profile.c	Wed Nov 22 01:53:59 2017	(r326083)
@@ -124,7 +124,7 @@
 /*
  * This value is bogus just to make module compilable on powerpc
  */
-#define	PROF_ARTIFICIAL_FRAMES	3
+#define	PROF_ARTIFICIAL_FRAMES	12
 #endif
 
 struct profile_probe_percpu;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711220153.vAM1rxsO000452>