diff options
| author | msaitoh <msaitoh@NetBSD.org> | 2023-04-12 02:15:51 +0000 |
|---|---|---|
| committer | msaitoh <msaitoh@NetBSD.org> | 2023-04-12 02:15:51 +0000 |
| commit | 193514c588df3c22fe2ac76d1bdf832a5fc4aac5 (patch) | |
| tree | 0d1edf635c04dbec55ae33f52ef4d07b339e14bf /usr.sbin | |
| parent | 0b3caf36480550f15e94bc33666906c3e2f1886c (diff) | |
KNF. No functional change.
Diffstat (limited to 'usr.sbin')
| -rw-r--r-- | usr.sbin/tprof/arch/tprof_x86.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/tprof/arch/tprof_x86.c b/usr.sbin/tprof/arch/tprof_x86.c index 667d6cb69b2..1f6b64f34d0 100644 --- a/usr.sbin/tprof/arch/tprof_x86.c +++ b/usr.sbin/tprof/arch/tprof_x86.c @@ -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_skylake_kabylake_names[] = { { "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 }, |
