Module Name:    src
Committed By:   msaitoh
Date:           Mon Apr 10 06:08:56 UTC 2023

Modified Files:
        src/usr.sbin/tprof: tprof.8
        src/usr.sbin/tprof/arch: tprof_x86.c

Log Message:
Add Cometlake support.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/tprof/tprof.8
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/tprof/arch/tprof_x86.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/tprof/tprof.8
diff -u src/usr.sbin/tprof/tprof.8:1.24 src/usr.sbin/tprof/tprof.8:1.25
--- src/usr.sbin/tprof/tprof.8:1.24	Fri Dec 16 08:02:04 2022
+++ src/usr.sbin/tprof/tprof.8	Mon Apr 10 06:08:55 2023
@@ -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

Index: src/usr.sbin/tprof/arch/tprof_x86.c
diff -u src/usr.sbin/tprof/arch/tprof_x86.c:1.15 src/usr.sbin/tprof/arch/tprof_x86.c:1.16
--- src/usr.sbin/tprof/arch/tprof_x86.c:1.15	Thu Dec  8 05:29:27 2022
+++ src/usr.sbin/tprof/arch/tprof_x86.c	Mon Apr 10 06:08:56 2023
@@ -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;
 		}

Reply via email to