Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf record: Fix comment misspellings

Fix comment misspellings

Signed-off-by: Howard Chu <howardchu95@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20240425060427.1800663-1-howardchu95@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Howard Chu and committed by
Arnaldo Carvalho de Melo
7cc72090 8f3ec810

+3 -3
+1 -1
tools/lib/perf/mmap.c
··· 279 279 if (!refcount_read(&map->refcnt)) 280 280 return NULL; 281 281 282 - /* non-overwirte doesn't pause the ringbuffer */ 282 + /* non-overwrite doesn't pause the ringbuffer */ 283 283 if (!map->overwrite) 284 284 map->end = perf_mmap__read_head(map); 285 285
+2 -2
tools/perf/builtin-record.c
··· 332 332 } else { 333 333 /* 334 334 * aio write request may require restart with the 335 - * reminder if the kernel didn't write whole 335 + * remainder if the kernel didn't write whole 336 336 * chunk at once. 337 337 */ 338 338 rem_off = cblock->aio_offset + written; ··· 400 400 * 401 401 * Coping can be done in two steps in case the chunk of profiling data 402 402 * crosses the upper bound of the kernel buffer. In this case we first move 403 - * part of data from map->start till the upper bound and then the reminder 403 + * part of data from map->start till the upper bound and then the remainder 404 404 * from the beginning of the kernel buffer till the end of the data chunk. 405 405 */ 406 406