From nobody Sat May 06 17:49:38 2023 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 4QDFS322s5z49sMx; Sat, 6 May 2023 17:49:39 +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 4QDFS30nJtz3FP9; Sat, 6 May 2023 17:49:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683395379; 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=IpAfjKFb8fTieYBLvCev6IN8vvfSljVrHcb6WABKzHs=; b=JzKc8gyYpFXZIwxkJIYEdH+LUIgLfCnRzrbwqbSnXqOJX7uibEpFCwOj+c2jw2RJuKvDMS 0KwETQVFf6r8lvWt+zROJArCJObMs45M/p77cdPLU1siS6cW+R8oeC2wZo+B4u19LPF6Pq m33Dzsb2JKKzmtiFbkA48Cxkg0vEVuC20e7DqPt+VvzHmU5I/O4Bo5qQGq0amdptQhcVi/ cnpcdY8ooCa9TaKREMX2ccB1CHo9X03pcZqx/ZN5u8pqyMFtCHS7lBhrm4mk0MvFxYg3he ybLpvamGSiM5qLcM9Jaz60NgYSpjSHEM1MffkECGfHmHVLoH2OEqDR8c6k2iAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683395379; 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=IpAfjKFb8fTieYBLvCev6IN8vvfSljVrHcb6WABKzHs=; b=vvkLeUTXWH+jZYcPv3PX7SkuboG0EUbW3ZXCdPKcVu2VbjEdBKxVN/uhs1DjPOT2PvKG0w +AWAJbOdmy/ojNGp0Z1AscHAfPC0n3+e2UOVJry9E4ko8hbKTVH8Yrhz7Tzo5+c5HTbqUd YBnD9FJOcu4qHtFKZiInVcnYpxWRAEC89UnMOQW/i//4g6WmXyJe1PwyGorpPZuR693pnR fAZ4E/IwvwcpH/O1BINwpB+WtkK0wkQMlMay9Z2YZrefNlCfLrxcNhICPnVkf/veLw6WAb x5zIM/lIBqAxeyi1AeZ8hOStW7ORFr0r+3WFZNmf5SEhZe1ql1t7uMfakpxT7Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683395379; a=rsa-sha256; cv=none; b=bf+t53jLamoLoFBs4I/nrzmddYab2OzqvWhWo47Q5W2tKen51TsHa/7wlVHHBpL0hx0wsU kt62rYuKcnjP8gZr+7TQB6aTur+Nb7esQC9WMeaONuSb4mFg6leZ9MqQ8A10vMPBYhc/I8 P9BmAQsu8cJflGnxaozInSzKNWoLOFk3SAYh/f3dJ9Q9/zd5zLga8SN4zPqRJxhkRRQfqU qbnkguMnkmkLSRRd5PsNad3SMqBjeZ0Vr6adwS2i/iz8qZp2aHMWJ+D5LLGb7IEuAv0HUW eqUu7zrFmTU4M6HYKaLYnDFutw97am5Jc+0NcC/n/EVzfr7eOkLtcm4qoBpcxA== 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 4QDFS270xGzlnG; Sat, 6 May 2023 17:49:38 +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 346HncXC017825; Sat, 6 May 2023 17:49:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 346Hncri017823; Sat, 6 May 2023 17:49:38 GMT (envelope-from git) Date: Sat, 6 May 2023 17:49:38 GMT Message-Id: <202305061749.346Hncri017823@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: b6c9d2a3f892 - main - pmc_events.h: event list formatting 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: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b6c9d2a3f892169d4a6acc92869f9d9db52876ea Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=b6c9d2a3f892169d4a6acc92869f9d9db52876ea commit b6c9d2a3f892169d4a6acc92869f9d9db52876ea Author: Mitchell Horne AuthorDate: 2023-05-05 21:57:14 +0000 Commit: Mitchell Horne CommitDate: 2023-05-06 17:49:18 +0000 pmc_events.h: event list formatting Improve the legibility of the list. Bump overall indentation, fix some whitespace, and sort the IAF block. Reviewed by: jkoshy MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D39903 --- sys/dev/hwpmc/pmc_events.h | 48 +++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/sys/dev/hwpmc/pmc_events.h b/sys/dev/hwpmc/pmc_events.h index f7963d3b0789..5ab87d1be360 100644 --- a/sys/dev/hwpmc/pmc_events.h +++ b/sys/dev/hwpmc/pmc_events.h @@ -2458,30 +2458,30 @@ __PMC_EV_ALIAS("unhalted-reference-cycles", IAF_CPU_CLK_UNHALTED_REF) * 0x14600 0x0100 ARM CMN-600 events * 0x20000 0x1000 Software events */ -#define __PMC_EVENTS() \ - __PMC_EV_BLOCK(TSC, 0x01000) \ - __PMC_EV_TSC() \ - __PMC_EV_BLOCK(IAF, 0x10000) \ - __PMC_EV_IAF() \ - __PMC_EV_BLOCK(K7, 0x2000) \ - __PMC_EV_K7() \ - __PMC_EV_BLOCK(K8, 0x2080) \ - __PMC_EV_K8() \ - __PMC_EV_BLOCK(PPC7450, 0x13000) \ - __PMC_EV_PPC7450() \ - __PMC_EV_BLOCK(PPC970, 0x13100) \ - __PMC_EV_PPC970() \ - __PMC_EV_BLOCK(E500, 0x13300) \ - __PMC_EV_E500() \ - __PMC_EV_BLOCK(ARMV7, 0x14000) \ - __PMC_EV_ARMV7() \ - __PMC_EV_BLOCK(ARMV8, 0x14100) \ - __PMC_EV_ARMV8() \ - __PMC_EV_BLOCK(DMC620_PMU_CD2, 0x14500) \ - __PMC_EV_DMC620_PMU_CD2() \ - __PMC_EV_BLOCK(DMC620_PMU_C, 0x14520) \ - __PMC_EV_DMC620_PMU_C() \ - __PMC_EV_BLOCK(CMN600_PMU, 0x14600) \ +#define __PMC_EVENTS() \ + __PMC_EV_BLOCK(TSC, 0x01000) \ + __PMC_EV_TSC() \ + __PMC_EV_BLOCK(K7, 0x02000) \ + __PMC_EV_K7() \ + __PMC_EV_BLOCK(K8, 0x02080) \ + __PMC_EV_K8() \ + __PMC_EV_BLOCK(IAF, 0x10000) \ + __PMC_EV_IAF() \ + __PMC_EV_BLOCK(PPC7450, 0x13000) \ + __PMC_EV_PPC7450() \ + __PMC_EV_BLOCK(PPC970, 0x13100) \ + __PMC_EV_PPC970() \ + __PMC_EV_BLOCK(E500, 0x13300) \ + __PMC_EV_E500() \ + __PMC_EV_BLOCK(ARMV7, 0x14000) \ + __PMC_EV_ARMV7() \ + __PMC_EV_BLOCK(ARMV8, 0x14100) \ + __PMC_EV_ARMV8() \ + __PMC_EV_BLOCK(DMC620_PMU_CD2, 0x14500) \ + __PMC_EV_DMC620_PMU_CD2() \ + __PMC_EV_BLOCK(DMC620_PMU_C, 0x14520) \ + __PMC_EV_DMC620_PMU_C() \ + __PMC_EV_BLOCK(CMN600_PMU, 0x14600) \ __PMC_EV_CMN600_PMU() #define PMC_EVENT_FIRST PMC_EV_TSC_TSC