Skip to contentSkip to conversation

perf lock contention: Fix typo in max-stack option description

PATCH Applied Kajol Jain 2 participants 2 messages Aug 25, 2023 perf events

lore
Share & tools
lore

Kajol Jain

author
#0 lore raw

PATCH 1/1 perf lock contention: Fix typo in max-stack option description

Fix typo in max-stack option description by changing lopck contention to lock contention.

---
 tools/perf/builtin-lock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/builtin-lock.c +1 -1
index c15386cb1033..76d4f8b2bf7d 100644
@@ -2506,7 +2506,7 @@ int cmd_lock(int argc, const char **argv)
 	OPT_CALLBACK('M', "map-nr-entries", &bpf_map_entries, "num",
 		     "Max number of BPF map entries", parse_map_entry),
 	OPT_CALLBACK(0, "max-stack", &max_stack_depth, "num",
-		     "Set the maximum stack depth when collecting lopck contention, "
+		     "Set the maximum stack depth when collecting lock contention, "
 		     "Default: " __stringify(CONTENTION_STACK_DEPTH), parse_max_stack),
 	OPT_INTEGER(0, "stack-skip", &stack_skip,
 		    "Set the number of stack depth to skip when finding a lock caller, "
Signature · 1 line
2.39.3
maintainer Applied
#1 lore raw

Em Fri, Aug 25, 2023 at 04:17:00PM +0530, Kajol Jain escreveu:

Quoted 2 lines

Fix typo in max-stack option description by changing lopck contention to lock contention.

Thanks, applied.

- Arnaldo

Quoted 21 lines
---
 tools/perf/builtin-lock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/builtin-lock.c +1 -1
index c15386cb1033..76d4f8b2bf7d 100644
@@ -2506,7 +2506,7 @@ int cmd_lock(int argc, const char **argv)
 	OPT_CALLBACK('M', "map-nr-entries", &bpf_map_entries, "num",
 		     "Max number of BPF map entries", parse_map_entry),
 	OPT_CALLBACK(0, "max-stack", &max_stack_depth, "num",
-		     "Set the maximum stack depth when collecting lopck contention, "
+		     "Set the maximum stack depth when collecting lock contention, "
 		     "Default: " __stringify(CONTENTION_STACK_DEPTH), parse_max_stack),
 	OPT_INTEGER(0, "stack-skip", &stack_skip,
 		    "Set the number of stack depth to skip when finding a lock caller, "
Signature · 1 line
2.39.3
Signature · 1 line
- Arnaldo