From nobody Sun Jun 26 23:16:17 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BCBDA868FD6; Sun, 26 Jun 2022 23:16:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LWRYs50Ffz4S7q; Sun, 26 Jun 2022 23:16:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656285377; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oFI2uDMe0QaVWuqw00zCyfBbCBqkOBpnE7JjAEWD+lA=; b=jyez43WuteF4SgwzxCCEIu5G32nDbGiep4OUOKTw/knbw7r7I5GWqdX+F0n58I91iLLeu9 0RsjM4kGsYTLj6TBeisEw6w9K12zu2KkZeckCbtoR2Ppe6BnIDDcjrqf42M0bIMAVZJhcv c+5UYhooYrTcuqXUTHxUkO1U3uGD3T5QtDNxQD4qFJQzXgaJju6ivfbCDLyXzCsAv3TmIa w96baKi5K758hWifrXN7E2KoLqXdWzINPNRYR8zjydvwll2VPBBdkvrzumGXS1Cgnv9rzP rjayStVHKq0sj2q0c4j4eJlQ0iVPw6dLmE6TXRa2uCU6qjdFpn25hQsUXHIkXw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8AFB81CB5F; Sun, 26 Jun 2022 23:16:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25QNGH0K057819; Sun, 26 Jun 2022 23:16:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25QNGHTJ057818; Sun, 26 Jun 2022 23:16:17 GMT (envelope-from git) Date: Sun, 26 Jun 2022 23:16:17 GMT Message-Id: <202206262316.25QNGHTJ057818@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: dd2fd62184b3 - main - libpmc: attempt to fix the build List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dd2fd62184b3aef72d52b586c91f18858e644aaa Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656285377; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oFI2uDMe0QaVWuqw00zCyfBbCBqkOBpnE7JjAEWD+lA=; b=NEpJUZ9ICKQR0wIPNlsFP2FWwU5kxfrFBxFUIwWfhZiZ6CTXjQQ2sjsyOEPzpuZeANgN8X tSlKUQf9YXA+BUY9GeBM5ixnYMY6Y8gnXwoZIe5GYJA/HjSFO7lYc7nuintRHYsxhlnyLg bY8PV4WlMMphHSoO/agTSJmvPdrn3C8vAfy6kw156m74u3nzOVcIGg3moNX5gMLIyO0iLl 0JQNBBTLhHkugBm5aJoNPwyz18T89vGiR9ZJelOfDJo/7soJG+tLtASaKcWr0AXqqrwQ31 UBe4y0VD4mGabJG19oIfOziVnhWnMrJYbsP6sTB4++oLvoz0y5cackQsf1poLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656285377; a=rsa-sha256; cv=none; b=J40KGepSfJs3YQJlEzBIlMJ4iViKlOz2g67acWh4F21QdE4UgO7KDxejCZCACqX/OEWhhC myJn2rYUoKsR1XoGonPuO8UK565xn3X4fRiEJxS7v5OskT7K3r9dWB7NAywI5VlVTaxrWZ i4YEjArST/oZp9IHdrMpPmxo0NT4ybcaWJwrKSpD/vF8nDQFqW91+QOdnR/D7U39FVTRbu /tKCyMK0q5A22qa/9CQEePZT0/0WVKYfgozjMBk+yMjSPb2HQrS3Z7hnUmq23+zi362/iL VdQN0iLYLhvPZl+FRuNhU0PIa7Vxl6hBNVtVCv5RJl72PvVlcFgoPTPUvpLyQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=dd2fd62184b3aef72d52b586c91f18858e644aaa commit dd2fd62184b3aef72d52b586c91f18858e644aaa Author: Bjoern A. Zeeb AuthorDate: 2022-06-26 23:14:56 +0000 Commit: Bjoern A. Zeeb CommitDate: 2022-06-26 23:14:56 +0000 libpmc: attempt to fix the build Try to fix the build (blindly) after e3572eb654733a94e1e765fe9e95e0579981d851. I had missed the missing #ifdef in the review. Hope that's all it takes. --- lib/libpmc/libpmc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libpmc/libpmc.c b/lib/libpmc/libpmc.c index 491402276468..581c05e0f8ef 100644 --- a/lib/libpmc/libpmc.c +++ b/lib/libpmc/libpmc.c @@ -1476,9 +1476,11 @@ pmc_init(void) /* Fill soft events information. */ pmc_class_table[n++] = &soft_class_table_descr; +#if defined(__aarch64__) pmc_class_table[n++] = &cmn600_pmu_class_table_descr; pmc_class_table[n++] = &dmc620_pmu_cd2_class_table_descr; pmc_class_table[n++] = &dmc620_pmu_c_class_table_descr; +#endif #if defined(__amd64__) || defined(__i386__) if (cpu_info.pm_cputype != PMC_CPU_GENERIC) pmc_class_table[n++] = &tsc_class_table_descr;