From cfb0dfa3c2902b23f5b21fd7cee95f38e93a4499 Mon Sep 17 00:00:00 2001 From: Matt Macy Date: Fri, 1 Jun 2018 00:45:48 +0000 Subject: [PATCH] libpmc: Intel doesn't require runtime counter table init --- lib/libpmc/libpmc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/libpmc/libpmc.c b/lib/libpmc/libpmc.c index 555b2be9fc4..d71cdfb3113 100644 --- a/lib/libpmc/libpmc.c +++ b/lib/libpmc/libpmc.c @@ -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); }