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 KNF. No functional change.
details: https://anonhg.NetBSD.org/src/rev/5233be9612de
branches: trunk
changeset: 374236:5233be9612de
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed Apr 12 02:15:51 2023 +0000
description:
KNF. No functional change.
diffstat:
usr.sbin/tprof/arch/tprof_x86.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 4d28ed76ae11 -r 5233be9612de usr.sbin/tprof/arch/tprof_x86.c
--- a/usr.sbin/tprof/arch/tprof_x86.c Tue Apr 11 19:40:04 2023 +0000
+++ b/usr.sbin/tprof/arch/tprof_x86.c Wed Apr 12 02:15:51 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tprof_x86.c,v 1.16 2023/04/10 06:08:56 msaitoh Exp $ */
+/* $NetBSD: tprof_x86.c,v 1.17 2023/04/12 02:15:51 msaitoh Exp $ */
/*
* Copyright (c) 2018-2019 The NetBSD Foundation, Inc.
@@ -60,7 +60,8 @@ struct event_table {
static struct event_table *cpuevents = NULL;
-static void x86_cpuid(unsigned int *eax, unsigned int *ebx,
+static void
+x86_cpuid(unsigned int *eax, unsigned int *ebx,
unsigned int *ecx, unsigned int *edx)
{
asm volatile("cpuid"
@@ -429,7 +430,7 @@ static struct name_to_event intel_skylak
{ "OFFCORE_REQUESTS_OUTSTANDING.DEMAND_RFO", 0x60, 0x04, true },
{ "OFFCORE_REQUESTS_OUTSTANDING.ALL_DATA_RD", 0x60, 0x08, true },
{ "OFFCORE_REQUESTS_OUTSTANDING.L3_MISS_DEMAND_DATA_RD",
- 0x60, 0x10, true },
+ 0x60, 0x10, true },
{ "IDQ.MITE_UOPS", 0x79, 0x04, true },
{ "IDQ.DSB_UOPS", 0x79, 0x08, true },
{ "IDQ.MS_MITE_UOPS", 0x79, 0x20, true },
Home |
Main Index |
Thread Index |
Old Index