summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2023-04-10 06:08:55 +0000
committermsaitoh <msaitoh@NetBSD.org>2023-04-10 06:08:55 +0000
commit657a109cb832c554137aae0be6179190d7eae931 (patch)
treebae4b1c9d4fcf4eff10e34162a3bb5821761c122 /usr.sbin
parent8952ed0af0594edd8c00010fe7f92adc95f64b6a (diff)
Add Cometlake support.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/tprof/arch/tprof_x86.c4
-rw-r--r--usr.sbin/tprof/tprof.86
2 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/tprof/arch/tprof_x86.c b/usr.sbin/tprof/arch/tprof_x86.c
index dcd6a49ed29..667d6cb69b2 100644
--- a/usr.sbin/tprof/arch/tprof_x86.c
+++ b/usr.sbin/tprof/arch/tprof_x86.c
@@ -1,4 +1,4 @@
-/* $NetBSD: tprof_x86.c,v 1.15 2022/12/08 05:29:27 msaitoh Exp $ */
+/* $NetBSD: tprof_x86.c,v 1.16 2023/04/10 06:08:56 msaitoh Exp $ */
/*
* Copyright (c) 2018-2019 The NetBSD Foundation, Inc.
@@ -571,6 +571,8 @@ init_intel_generic(void)
case 0x5e: /* Skylake */
case 0x8e: /* Kabylake */
case 0x9e: /* Kabylake */
+ case 0xa5: /* Cometlake */
+ case 0xa6: /* Cometlake */
table->next = init_intel_skylake_kabylake();
break;
}
diff --git a/usr.sbin/tprof/tprof.8 b/usr.sbin/tprof/tprof.8
index 1e8ac20c623..27d5acf4d69 100644
--- a/usr.sbin/tprof/tprof.8
+++ b/usr.sbin/tprof/tprof.8
@@ -1,4 +1,4 @@
-.\" $NetBSD: tprof.8,v 1.24 2022/12/16 08:02:04 ryo Exp $
+.\" $NetBSD: tprof.8,v 1.25 2023/04/10 06:08:55 msaitoh Exp $
.\"
.\" Copyright (c)2011 YAMAMOTO Takashi,
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd December 16, 2022
+.Dd April 10, 2023
.Dt TPROF 8
.Os
.Sh NAME
@@ -208,7 +208,7 @@ x86 AMD Family 19h
.It
x86 Intel Generic (all Intel CPUs)
.It
-x86 Intel Skylake/Kabylake
+x86 Intel Skylake, Kabylake and Cometlake
.It
x86 Intel Silvermont/Airmont
.It