Author: mmacy
Date: Fri Jun 1 00:45:48 2018
New Revision: 334463
URL: https://svnweb.freebsd.org/changeset/base/334463
Log:
libpmc: Intel doesn't require runtime counter table init
Modified:
head/lib/libpmc/libpmc.c
Modified: head/lib/libpmc/libpmc.c
==============================================================================
--- head/lib/libpmc/libpmc.c Fri Jun 1 00:45:43 2018 (r334462)
+++ head/lib/libpmc/libpmc.c Fri Jun 1 00:45:48 2018 (r334463)
@@ -1534,6 +1534,9 @@ pmc_init(void)
* about. This shouldn't happen since the abi version check
* should have caught this.
*/
+#if defined(__amd64__) || defined(__i386__)
+ break;
+#endif
errno = ENXIO;
return (pmc_syscall = -1);
}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"