summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-record.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-08-22 19:30:08 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-08-23 17:06:40 -0300
commit5e30d55c71de058e4156080fe32d426c22d094cb (patch)
treeb00a7ae974277eaed48eebd8287ca32fcaae26fe /tools/perf/builtin-record.c
parentc77ce225d5ed1c5bfd4c6d58d3333d859ae49fd7 (diff)
downloadlinux-5e30d55c71de058e4156080fe32d426c22d094cb.tar.gz
linux-5e30d55c71de058e4156080fe32d426c22d094cb.tar.bz2
linux-5e30d55c71de058e4156080fe32d426c22d094cb.zip
perf record: Fix spelling mistake "Finshed" -> "Finished"
Trivial fix to spelling mistake in pr_debug message. Signed-off-by: Colin King <colin.king@canonical.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20160822183008.26368-1-colin.king@canonical.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-record.c')
-rw-r--r--tools/perf/builtin-record.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c
index a3792e8c3e03..03251c7f14ec 100644
--- a/tools/perf/builtin-record.c
+++ b/tools/perf/builtin-record.c
@@ -96,7 +96,7 @@ backward_rb_find_range(void *buf, int mask, u64 head, u64 *start, u64 *end)
*start = head;
while (true) {
if (evt_head - head >= (unsigned int)size) {
- pr_debug("Finshed reading backward ring buffer: rewind\n");
+ pr_debug("Finished reading backward ring buffer: rewind\n");
if (evt_head - head > (unsigned int)size)
evt_head -= pheader->size;
*end = evt_head;
@@ -106,7 +106,7 @@ backward_rb_find_range(void *buf, int mask, u64 head, u64 *start, u64 *end)
pheader = (struct perf_event_header *)(buf + (evt_head & mask));
if (pheader->size == 0) {
- pr_debug("Finshed reading backward ring buffer: get start\n");
+ pr_debug("Finished reading backward ring buffer: get start\n");
*end = evt_head;
return 0;
}