perf/x86: cleanup comments
Subsystems (2)
PATCH 1/1 perf/x86: cleanup comments
From: Tom Rix <[email protected]>
For spdx, // for *.c
Replacements
certan to certain
fecthes to fetches
funning to running
dont to don't
Signed-off-by Tom Rix <[email protected]>
--- arch/x86/events/amd/core.c | 2 +- arch/x86/events/core.c | 2 +- arch/x86/events/intel/p4.c | 2 +- arch/x86/events/intel/uncore.c | 2 +- arch/x86/events/intel/uncore_discovery.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
arch/x86/events/amd/core.c +1 -1
@@ -81,7 +81,7 @@ static __initconst const u64 amd_hw_cache_event_ids }, [ C(ITLB) ] = { [ C(OP_READ) ] = { - [ C(RESULT_ACCESS) ] = 0x0080, /* Instruction fecthes */ + [ C(RESULT_ACCESS) ] = 0x0080, /* Instruction fetches */ [ C(RESULT_MISS) ] = 0x0385, /* L1_ITLB_AND_L2_ITLB_MISS.ALL */ }, [ C(OP_WRITE) ] = {
arch/x86/events/core.c +1 -1
@@ -1416,7 +1416,7 @@ int x86_perf_event_set_period(struct perf_event *event)wrmsrl (x86_pmu_event_addr (idx +1 ),0xffff );/* -* Due to erratum on certan cpu we need +* Due to erratum on certain cpu we need * a second write to be sure the register * is updated properly */
arch/x86/events/intel/p4.c +1 -1
@@ -960,7 +960,7 @@ static void __p4_pmu_enable_event(struct perf_event *event) escr_addr = bind->escr_msr[thread];/* -* - we dont support cascaded counters yet +* - we don't support cascaded counters yet * - and counter 1 is broken (erratum) */ WARN_ON_ONCE (p4_is_event_cascaded (hwc->config));
arch/x86/events/intel/uncore.c +1 -1
@@ -573,7 +573,7 @@ int uncore_pmu_event_add(struct perf_event *event, int flags)return -ENODEV ;/* -* The free funning counter is assigned in event_init(). +* The free running counter is assigned in event_init(). * The free running counter event and free running counter * are 1:1 mapped. It doesn't need to be tracked in event_list. */
arch/x86/events/intel/uncore_discovery.c +1 -1
@@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +// SPDX-License-Identifier: GPL-2.0-only /* * Support Intel uncore PerfMon discovery mechanism. * Copyright(c) 2021 Intel Corporation.
Signature · 1 line
2.26.3