perf lock contention: Fix typo in max-stack option description
authorKajol Jain <kjain@linux.ibm.com>
Fri, 25 Aug 2023 10:47:00 +0000 (16:17 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 25 Aug 2023 13:27:07 +0000 (10:27 -0300)
Fix typo in max-stack option description by changing lopck contention
to lock contention.

Signed-off-by: Kajol Jain <kjain@linux.ibm.com>
Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Cc: Disha Goel <disgoel@linux.ibm.com>
Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20230825104700.440809-1-kjain@linux.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-lock.c

index 0cf1c5a2e0323341ef5a01bead9f8a72dfb5fbeb..b141f2134274061039115ae7dd2a44ed7431b8b8 100644 (file)
@@ -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, "