Date: Fri, 1 Jun 2018 00:45:49 +0000 (UTC) From: Matt Macy <mmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334463 - head/lib/libpmc Message-ID: <201806010045.w510jnmN036349@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806010045.w510jnmN036349>