aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Buchbinder <adam.buchbinder@gmail.com>2016-02-24 13:02:25 -0500
committerJiri Kosina <jkosina@suse.cz>2016-04-18 06:45:53 -0400
commitbd1a0be5154788a052c6b851dbfa97bcd71f21d6 (patch)
treed812e0c973a060a77de747161adbc6c9c52f1f2d
parent014b38ec694ce3fd11cfedbdee75d1fdcb031839 (diff)
tools/perf: Fix misspellings in comments.
Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--tools/perf/tests/openat-syscall-all-cpus.c2
-rw-r--r--tools/perf/util/evsel.c2
-rw-r--r--tools/perf/util/machine.c2
-rw-r--r--tools/perf/util/parse-events.c2
-rw-r--r--tools/perf/util/session.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/tools/perf/tests/openat-syscall-all-cpus.c b/tools/perf/tests/openat-syscall-all-cpus.c
index 53c2273e8859..ad1cb63139a7 100644
--- a/tools/perf/tests/openat-syscall-all-cpus.c
+++ b/tools/perf/tests/openat-syscall-all-cpus.c
@@ -73,7 +73,7 @@ int test__openat_syscall_event_on_all_cpus(int subtest __maybe_unused)
73 } 73 }
74 74
75 /* 75 /*
76 * Here we need to explicitely preallocate the counts, as if 76 * Here we need to explicitly preallocate the counts, as if
77 * we use the auto allocation it will allocate just for 1 cpu, 77 * we use the auto allocation it will allocate just for 1 cpu,
78 * as we start by cpu 0. 78 * as we start by cpu 0.
79 */ 79 */
diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c
index 738ce226002b..846d633551b9 100644
--- a/tools/perf/util/evsel.c
+++ b/tools/perf/util/evsel.c
@@ -826,7 +826,7 @@ void perf_evsel__config(struct perf_evsel *evsel, struct record_opts *opts)
826 perf_evsel__set_sample_bit(evsel, PERIOD); 826 perf_evsel__set_sample_bit(evsel, PERIOD);
827 827
828 /* 828 /*
829 * When the user explicitely disabled time don't force it here. 829 * When the user explicitly disabled time don't force it here.
830 */ 830 */
831 if (opts->sample_time && 831 if (opts->sample_time &&
832 (!perf_missing_features.sample_id_all && 832 (!perf_missing_features.sample_id_all &&
diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c
index 80b9b6a87990..2fa6d25b94bf 100644
--- a/tools/perf/util/machine.c
+++ b/tools/perf/util/machine.c
@@ -361,7 +361,7 @@ out_err:
361} 361}
362 362
363/* 363/*
364 * Caller must eventually drop thread->refcnt returned with a successfull 364 * Caller must eventually drop thread->refcnt returned with a successful
365 * lookup/new thread inserted. 365 * lookup/new thread inserted.
366 */ 366 */
367static struct thread *____machine__findnew_thread(struct machine *machine, 367static struct thread *____machine__findnew_thread(struct machine *machine,
diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c
index 4c19d5e79d8c..696e8da4bcdf 100644
--- a/tools/perf/util/parse-events.c
+++ b/tools/perf/util/parse-events.c
@@ -1649,7 +1649,7 @@ static void parse_events_print_error(struct parse_events_error *err,
1649 1649
1650 buf = _buf; 1650 buf = _buf;
1651 1651
1652 /* We're cutting from the beggining. */ 1652 /* We're cutting from the beginning. */
1653 if (err->idx > max_err_idx) 1653 if (err->idx > max_err_idx)
1654 cut = err->idx - max_err_idx; 1654 cut = err->idx - max_err_idx;
1655 1655
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c
index 4abd85c6346d..9bd8d6c832b1 100644
--- a/tools/perf/util/session.c
+++ b/tools/perf/util/session.c
@@ -555,7 +555,7 @@ static u8 revbyte(u8 b)
555 555
556/* 556/*
557 * XXX this is hack in attempt to carry flags bitfield 557 * XXX this is hack in attempt to carry flags bitfield
558 * throught endian village. ABI says: 558 * through endian village. ABI says:
559 * 559 *
560 * Bit-fields are allocated from right to left (least to most significant) 560 * Bit-fields are allocated from right to left (least to most significant)
561 * on little-endian implementations and from left to right (most to least 561 * on little-endian implementations and from left to right (most to least