Module Name:    src
Committed By:   msaitoh
Date:           Mon Jun 13 07:40:58 UTC 2022

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

Log Message:
Add topdown-slots to Intel architectural performance monitoring version 1.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 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/arch/tprof_x86.c
diff -u src/usr.sbin/tprof/arch/tprof_x86.c:1.10 src/usr.sbin/tprof/arch/tprof_x86.c:1.11
--- src/usr.sbin/tprof/arch/tprof_x86.c:1.10	Fri Apr 17 03:15:50 2020
+++ src/usr.sbin/tprof/arch/tprof_x86.c	Mon Jun 13 07:40:58 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: tprof_x86.c,v 1.10 2020/04/17 03:15:50 knakahara Exp $	*/
+/*	$NetBSD: tprof_x86.c,v 1.11 2022/06/13 07:40:58 msaitoh Exp $	*/
 
 /*
  * Copyright (c) 2018-2019 The NetBSD Foundation, Inc.
@@ -85,6 +85,7 @@ static struct name_to_event intel_arch1_
 	{ "llc-misses",			0x2E, 0x41, true },
 	{ "branch-instruction-retired",	0xC4, 0x00, true },
 	{ "branch-misses-retired",	0xC5, 0x00, true },
+	{ "topdown-slots",		0xA4, 0x01, true },
 };
 
 static struct event_table intel_arch1 = {

Reply via email to