perf lock contention: Fix typo in max-stack option description
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.
Signed-off-by Kajol Jain <[email protected]>
--- tools/perf/builtin-lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/builtin-lock.c +1 -1
@@ -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
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
Signed-off-by Kajol Jain <[email protected]>--- tools/perf/builtin-lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/perf/builtin-lock.c +1
-1@@ -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