From owner-svn-src-all@freebsd.org Thu Dec 12 00:14:01 2019 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EDB621E435E; Thu, 12 Dec 2019 00:14:01 +0000 (UTC) (envelope-from emaste@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47YDmn5shYz3Kb6; Thu, 12 Dec 2019 00:14:01 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C4A601B594; Thu, 12 Dec 2019 00:14:01 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBC0E1qc015487; Thu, 12 Dec 2019 00:14:01 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBC0E1Mc015485; Thu, 12 Dec 2019 00:14:01 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201912120014.xBC0E1Mc015485@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Thu, 12 Dec 2019 00:14:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r355635 - in head: . lib/libpmc X-SVN-Group: head X-SVN-Commit-Author: emaste X-SVN-Commit-Paths: in head: . lib/libpmc X-SVN-Commit-Revision: 355635 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Dec 2019 00:14:02 -0000 Author: emaste Date: Thu Dec 12 00:14:01 2019 New Revision: 355635 URL: https://svnweb.freebsd.org/changeset/base/355635 Log: libpmc: build json event support also on arm64 Modified: head/Makefile.inc1 head/lib/libpmc/Makefile Modified: head/Makefile.inc1 ============================================================================== --- head/Makefile.inc1 Wed Dec 11 23:41:39 2019 (r355634) +++ head/Makefile.inc1 Thu Dec 12 00:14:01 2019 (r355635) @@ -2446,7 +2446,8 @@ _libmagic=lib/libmagic .endif .if ${MK_PMC} != "no" && \ - (${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "i386") + (${TARGET_ARCH} == "aarch64" || ${TARGET_ARCH} == "amd64" || \ + ${TARGET_ARCH} == "i386") _jevents=lib/libpmc/pmu-events .endif Modified: head/lib/libpmc/Makefile ============================================================================== --- head/lib/libpmc/Makefile Wed Dec 11 23:41:39 2019 (r355634) +++ head/lib/libpmc/Makefile Thu Dec 12 00:14:01 2019 (r355635) @@ -7,7 +7,8 @@ INCS= pmc.h pmclog.h pmcformat.h ALLOW_MIPS_SHARED_TEXTREL= -.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" +.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \ + ${MACHINE_ARCH} == "i386" .if ${MACHINE_ARCH} == "aarch64" EVENT_ARCH="arm64"