mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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>
This commit is contained in:
committed by
Arnaldo Carvalho de Melo
parent
a6cb06ff49
commit
4d39c89f0b
@@ -91,7 +91,7 @@ static Dwarf_Line *cu_getsrc_die(Dwarf_Die *cu_die, Dwarf_Addr addr)
|
||||
return NULL;
|
||||
} while (laddr == addr);
|
||||
l++;
|
||||
/* Going foward to find the statement line */
|
||||
/* Going forward to find the statement line */
|
||||
do {
|
||||
line = dwarf_onesrcline(lines, l++);
|
||||
if (!line || dwarf_lineaddr(line, &laddr) != 0 ||
|
||||
@@ -177,7 +177,7 @@ int cu_walk_functions_at(Dwarf_Die *cu_die, Dwarf_Addr addr,
|
||||
* die_get_linkage_name - Get the linkage name of the object
|
||||
* @dw_die: A DIE of the object
|
||||
*
|
||||
* Get the linkage name attiribute of given @dw_die.
|
||||
* Get the linkage name attribute of given @dw_die.
|
||||
* For C++ binary, the linkage name will be the mangled symbol.
|
||||
*/
|
||||
const char *die_get_linkage_name(Dwarf_Die *dw_die)
|
||||
@@ -739,7 +739,7 @@ static int __die_walk_instances_cb(Dwarf_Die *inst, void *data)
|
||||
* @data: user data
|
||||
*
|
||||
* Walk on the instances of give @in_die. @in_die must be an inlined function
|
||||
* declartion. This returns the return value of @callback if it returns
|
||||
* declaration. This returns the return value of @callback if it returns
|
||||
* non-zero value, or -ENOENT if there is no instance.
|
||||
*/
|
||||
int die_walk_instances(Dwarf_Die *or_die, int (*callback)(Dwarf_Die *, void *),
|
||||
|
||||
Reference in New Issue
Block a user