Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/tprof Add Cometlake support.



details:   https://anonhg.NetBSD.org/src/rev/69120fbd6da2
branches:  trunk
changeset: 374198:69120fbd6da2
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Apr 10 06:08:55 2023 +0000

description:
Add Cometlake support.

diffstat:

 usr.sbin/tprof/arch/tprof_x86.c |  4 +++-
 usr.sbin/tprof/tprof.8          |  6 +++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (45 lines):

diff -r 95629e91e423 -r 69120fbd6da2 usr.sbin/tprof/arch/tprof_x86.c
--- a/usr.sbin/tprof/arch/tprof_x86.c   Sun Apr 09 20:41:28 2023 +0000
+++ b/usr.sbin/tprof/arch/tprof_x86.c   Mon Apr 10 06:08:55 2023 +0000
@@ -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 -r 95629e91e423 -r 69120fbd6da2 usr.sbin/tprof/tprof.8
--- a/usr.sbin/tprof/tprof.8    Sun Apr 09 20:41:28 2023 +0000
+++ b/usr.sbin/tprof/tprof.8    Mon Apr 10 06:08:55 2023 +0000
@@ -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



Home | Main Index | Thread Index | Old Index