summaryrefslogtreecommitdiff
path: root/tools/perf/util/strbuf.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2021-03-23 19:09:15 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-03-23 23:13:43 +0300
commit4d39c89f0b94bf4a6e1ccf42702e7d80d210a5fd (patch)
treeb281584a8de5a03189048997060f4633e3ed4fa3 /tools/perf/util/strbuf.h
parenta6cb06ff49fd522aaeecfee7d5952ac6e2ab9d13 (diff)
downloadlinux-4d39c89f0b94bf4a6e1ccf42702e7d80d210a5fd.tar.xz
perf tools: Fix various typos in comments
Fix ~124 single-word typos and a few spelling errors in the perf tooling code, accumulated over the years. Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20210321113734.GA248990@gmail.com Link: http://lore.kernel.org/lkml/20210323160915.GA61903@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/strbuf.h')
-rw-r--r--tools/perf/util/strbuf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/strbuf.h b/tools/perf/util/strbuf.h
index ea94d8628980..be94d7046fa0 100644
--- a/tools/perf/util/strbuf.h
+++ b/tools/perf/util/strbuf.h
@@ -12,7 +12,7 @@
* build complex strings/buffers whose final size isn't easily known.
*
* It is NOT legal to copy the ->buf pointer away.
- * `strbuf_detach' is the operation that detachs a buffer from its shell
+ * `strbuf_detach' is the operation that detaches a buffer from its shell
* while keeping the shell valid wrt its invariants.
*
* 2. the ->buf member is a byte array that has at least ->len + 1 bytes