Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/tprof/arch Add topdown-slots to Intel architectural...



details:   https://anonhg.NetBSD.org/src/rev/ef4a5cbca576
branches:  trunk
changeset: 366765:ef4a5cbca576
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Jun 13 07:40:58 2022 +0000

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

diffstat:

 usr.sbin/tprof/arch/tprof_x86.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r ac3cc920645d -r ef4a5cbca576 usr.sbin/tprof/arch/tprof_x86.c
--- a/usr.sbin/tprof/arch/tprof_x86.c   Mon Jun 13 06:22:31 2022 +0000
+++ b/usr.sbin/tprof/arch/tprof_x86.c   Mon Jun 13 07:40:58 2022 +0000
@@ -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 @@
        { "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 = {



Home | Main Index | Thread Index | Old Index