From: Alexandru Elisei Date: Thu, 27 Jan 2022 16:17:55 +0000 (+0000) Subject: perf: Fix wrong name in comment for struct perf_cpu_context X-Git-Tag: baikal/aarch64/sdk6.1~4409^2~8^2~5^2~4 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=0230aeffbf93cb47e5c269f2924d48ebf0d4d7c5;p=kernel.git perf: Fix wrong name in comment for struct perf_cpu_context Commit eba5f9cdad07 ("performance counters: core code") added the perf subsystem (then called Performance Counters) to Linux, creating the struct perf_cpu_context. The comment for the struct referred to it as a "struct perf_counter_cpu_context". Commit 4cd1bf376bde ("perf: Do the big rename: Performance Counters -> Performance Events") changed the comment to refer to a "struct perf_event_cpu_context", which was still the wrong name for the struct. Change the comment to say "struct perf_cpu_context". CC: Thomas Gleixner CC: Ingo Molnar Signed-off-by: Alexandru Elisei Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20220127161759.53553-3-alexandru.elisei@arm.com --- diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index 733649184b279..af97dd427501c 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h @@ -864,7 +864,7 @@ struct perf_event_context { #define PERF_NR_CONTEXTS 4 /** - * struct perf_event_cpu_context - per cpu event context structure + * struct perf_cpu_context - per cpu event context structure */ struct perf_cpu_context { struct perf_event_context ctx;