linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] perf lock contention: Fix typo in max-stack option description
@ 2023-08-25 10:47 Kajol Jain
  2023-08-25 13:27 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 2+ messages in thread
From: Kajol Jain @ 2023-08-25 10:47 UTC (permalink / raw)
  To: acme; +Cc: maddy, atrajeev, disgoel, kjain, linux-perf-users, namhyung

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

Signed-off-by: Kajol Jain <kjain@linux.ibm.com>
---
 tools/perf/builtin-lock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c
index c15386cb1033..76d4f8b2bf7d 100644
--- a/tools/perf/builtin-lock.c
+++ b/tools/perf/builtin-lock.c
@@ -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, "
-- 
2.39.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] perf lock contention: Fix typo in max-stack option description
  2023-08-25 10:47 [PATCH] perf lock contention: Fix typo in max-stack option description Kajol Jain
@ 2023-08-25 13:27 ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2023-08-25 13:27 UTC (permalink / raw)
  To: Kajol Jain; +Cc: maddy, atrajeev, disgoel, linux-perf-users, namhyung

Em Fri, Aug 25, 2023 at 04:17:00PM +0530, Kajol Jain escreveu:
> Fix typo in max-stack option description by changing lopck contention
> to lock contention.

Thanks, applied.

- Arnaldo

 
> Signed-off-by: Kajol Jain <kjain@linux.ibm.com>
> ---
>  tools/perf/builtin-lock.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c
> index c15386cb1033..76d4f8b2bf7d 100644
> --- a/tools/perf/builtin-lock.c
> +++ b/tools/perf/builtin-lock.c
> @@ -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, "
> -- 
> 2.39.3
> 

-- 

- Arnaldo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-25 13:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-25 10:47 [PATCH] perf lock contention: Fix typo in max-stack option description Kajol Jain
2023-08-25 13:27 ` Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).