svn commit: r326083 - head/sys/cddl/dev/profile
Justin Hibbits
jhibbits at FreeBSD.org
Wed Nov 22 01:54:01 UTC 2017
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;
More information about the svn-src-all
mailing list