summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2022-12-08 05:29:27 +0000
committermsaitoh <msaitoh@NetBSD.org>2022-12-08 05:29:27 +0000
commit23b792c67907ab2da34e300f7c1eef21ca9d5856 (patch)
tree17fd24ac9d4e1ee48f45cdc81c17a9f299263c5a /sys/dev
parentb121b98decf16cb68b04f686626d78aab914dbfb (diff)
Add AMD family 19h (zen3 and zen4) support to tprof.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/tprof/tprof_x86_amd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/tprof/tprof_x86_amd.c b/sys/dev/tprof/tprof_x86_amd.c
index d47fdfd165c..daeb8051155 100644
--- a/sys/dev/tprof/tprof_x86_amd.c
+++ b/sys/dev/tprof/tprof_x86_amd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: tprof_x86_amd.c,v 1.6 2022/12/01 00:32:52 ryo Exp $ */
+/* $NetBSD: tprof_x86_amd.c,v 1.7 2022/12/08 05:29:27 msaitoh Exp $ */
/*
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -56,7 +56,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tprof_x86_amd.c,v 1.6 2022/12/01 00:32:52 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tprof_x86_amd.c,v 1.7 2022/12/08 05:29:27 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -245,6 +245,7 @@ tprof_amd_ident(void)
case 0x10:
case 0x15:
case 0x17:
+ case 0x19:
return TPROF_IDENT_AMD_GENERIC;
}