tools/perf: Fix misspellings in comments.
authorAdam Buchbinder <adam.buchbinder@gmail.com>
Wed, 24 Feb 2016 18:02:25 +0000 (10:02 -0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 18 Apr 2016 10:45:53 +0000 (12:45 +0200)
Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
tools/perf/tests/openat-syscall-all-cpus.c
tools/perf/util/evsel.c
tools/perf/util/machine.c
tools/perf/util/parse-events.c
tools/perf/util/session.c

index 53c2273e88592b56ac6b3ca977c43b7ae31e5655..ad1cb63139a79af0b176fe312294798d487aa2be 100644 (file)
@@ -73,7 +73,7 @@ int test__openat_syscall_event_on_all_cpus(int subtest __maybe_unused)
        }
 
        /*
-        * Here we need to explicitely preallocate the counts, as if
+        * Here we need to explicitly preallocate the counts, as if
         * we use the auto allocation it will allocate just for 1 cpu,
         * as we start by cpu 0.
         */
index 738ce226002b8a0e88093fefaf74e9fe6093a13a..846d633551b93d03ee31a83f38da1dcc36c74334 100644 (file)
@@ -826,7 +826,7 @@ void perf_evsel__config(struct perf_evsel *evsel, struct record_opts *opts)
                perf_evsel__set_sample_bit(evsel, PERIOD);
 
        /*
-        * When the user explicitely disabled time don't force it here.
+        * When the user explicitly disabled time don't force it here.
         */
        if (opts->sample_time &&
            (!perf_missing_features.sample_id_all &&
index 80b9b6a87990b29e4722a956e62814130c1290de..2fa6d25b94bf03a6adc25b1da940a3558ddf1d1e 100644 (file)
@@ -361,7 +361,7 @@ out_err:
 }
 
 /*
- * Caller must eventually drop thread->refcnt returned with a successfull
+ * Caller must eventually drop thread->refcnt returned with a successful
  * lookup/new thread inserted.
  */
 static struct thread *____machine__findnew_thread(struct machine *machine,
index 4c19d5e79d8c4d626eb3fa91486cc1d83447aeeb..696e8da4bcdf717f70018a58db5579318e7e171d 100644 (file)
@@ -1649,7 +1649,7 @@ static void parse_events_print_error(struct parse_events_error *err,
 
                buf = _buf;
 
-               /* We're cutting from the beggining. */
+               /* We're cutting from the beginning. */
                if (err->idx > max_err_idx)
                        cut = err->idx - max_err_idx;
 
index 4abd85c6346dd5d8193108d8c72668dfe2ef2948..9bd8d6c832b1e2bfe46725351d4dfad6b9c492c1 100644 (file)
@@ -555,7 +555,7 @@ static u8 revbyte(u8 b)
 
 /*
  * XXX this is hack in attempt to carry flags bitfield
- * throught endian village. ABI says:
+ * through endian village. ABI says:
  *
  * Bit-fields are allocated from right to left (least to most significant)
  * on little-endian implementations and from left to right (most to least