tools/perf: Fix misspellings in comments.
Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
014b38ec69
commit
bd1a0be515
|
@ -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,
|
* we use the auto allocation it will allocate just for 1 cpu,
|
||||||
* as we start by cpu 0.
|
* as we start by cpu 0.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -826,7 +826,7 @@ void perf_evsel__config(struct perf_evsel *evsel, struct record_opts *opts)
|
||||||
perf_evsel__set_sample_bit(evsel, PERIOD);
|
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 &&
|
if (opts->sample_time &&
|
||||||
(!perf_missing_features.sample_id_all &&
|
(!perf_missing_features.sample_id_all &&
|
||||||
|
|
|
@ -361,7 +361,7 @@ static void machine__update_thread_pid(struct machine *machine,
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Caller must eventually drop thread->refcnt returned with a successfull
|
* Caller must eventually drop thread->refcnt returned with a successful
|
||||||
* lookup/new thread inserted.
|
* lookup/new thread inserted.
|
||||||
*/
|
*/
|
||||||
static struct thread *____machine__findnew_thread(struct machine *machine,
|
static struct thread *____machine__findnew_thread(struct machine *machine,
|
||||||
|
|
|
@ -1649,7 +1649,7 @@ static void parse_events_print_error(struct parse_events_error *err,
|
||||||
|
|
||||||
buf = _buf;
|
buf = _buf;
|
||||||
|
|
||||||
/* We're cutting from the beggining. */
|
/* We're cutting from the beginning. */
|
||||||
if (err->idx > max_err_idx)
|
if (err->idx > max_err_idx)
|
||||||
cut = err->idx - max_err_idx;
|
cut = err->idx - max_err_idx;
|
||||||
|
|
||||||
|
|
|
@ -555,7 +555,7 @@ static u8 revbyte(u8 b)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XXX this is hack in attempt to carry flags bitfield
|
* 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)
|
* Bit-fields are allocated from right to left (least to most significant)
|
||||||
* on little-endian implementations and from left to right (most to least
|
* on little-endian implementations and from left to right (most to least
|
||||||
|
|
Loading…
Reference in New Issue