aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKajol Jain <[email protected]>2023-08-25 16:17:00 +0530
committerArnaldo Carvalho de Melo <[email protected]>2023-08-25 10:27:07 -0300
commit0f2418fddb6dddd5f6f9fc4e2375bdaa0d7e0174 (patch)
treef8bc1037f25ba92bc9e04318bb95c4c82c4b9eeb
parent520da457f9b883e541c36c8f55e7590848b7aa64 (diff)
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]> Cc: Athira Rajeev <[email protected]> Cc: Disha Goel <[email protected]> Cc: Madhavan Srinivasan <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r--tools/perf/builtin-lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c
index 0cf1c5a2e032..b141f2134274 100644
--- a/tools/perf/builtin-lock.c
+++ b/tools/perf/builtin-lock.c
@@ -2507,7 +2507,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, "