linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] perf bench numa: Fixes typo in options
@ 2018-04-25  8:25 Yisheng Xie
  2018-05-07 10:45 ` Yisheng Xie
  2018-05-10 18:13 ` [tip:perf/urgent] perf bench numa: Fix " tip-bot for Yisheng Xie
  0 siblings, 2 replies; 4+ messages in thread
From: Yisheng Xie @ 2018-04-25  8:25 UTC (permalink / raw)
  To: acme; +Cc: jolsa, mingo, peterz, linux-kernel, Yisheng Xie

'R' means access the data via reads instead of writes, fix this typo.

Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com>
---
 tools/perf/bench/numa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/bench/numa.c b/tools/perf/bench/numa.c
index 944070e..63eb4908 100644
--- a/tools/perf/bench/numa.c
+++ b/tools/perf/bench/numa.c
@@ -175,7 +175,7 @@ struct global_info {
 	OPT_UINTEGER('s', "nr_secs"	, &p0.nr_secs,		"max number of seconds to run (default: 5 secs)"),
 	OPT_UINTEGER('u', "usleep"	, &p0.sleep_usecs,	"usecs to sleep per loop iteration"),
 
-	OPT_BOOLEAN('R', "data_reads"	, &p0.data_reads,	"access the data via writes (can be mixed with -W)"),
+	OPT_BOOLEAN('R', "data_reads"	, &p0.data_reads,	"access the data via reads (can be mixed with -W)"),
 	OPT_BOOLEAN('W', "data_writes"	, &p0.data_writes,	"access the data via writes (can be mixed with -R)"),
 	OPT_BOOLEAN('B', "data_backwards", &p0.data_backwards,	"access the data backwards as well"),
 	OPT_BOOLEAN('Z', "data_zero_memset", &p0.data_zero_memset,"access the data via glibc bzero only"),
-- 
1.7.12.4

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

* Re: [PATCH] perf bench numa: Fixes typo in options
  2018-04-25  8:25 [PATCH] perf bench numa: Fixes typo in options Yisheng Xie
@ 2018-05-07 10:45 ` Yisheng Xie
  2018-05-07 15:08   ` Arnaldo Carvalho de Melo
  2018-05-10 18:13 ` [tip:perf/urgent] perf bench numa: Fix " tip-bot for Yisheng Xie
  1 sibling, 1 reply; 4+ messages in thread
From: Yisheng Xie @ 2018-05-07 10:45 UTC (permalink / raw)
  To: acme, Arnaldo Carvalho de Melo; +Cc: jolsa, mingo, peterz, linux-kernel

Hi Arnaldo,

Just in case that you may miss this minor fix.

Thanks
Yisheng

On 2018/4/25 16:25, Yisheng Xie wrote:
> 'R' means access the data via reads instead of writes, fix this typo.
> 
> Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com>
> ---
>  tools/perf/bench/numa.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/perf/bench/numa.c b/tools/perf/bench/numa.c
> index 944070e..63eb4908 100644
> --- a/tools/perf/bench/numa.c
> +++ b/tools/perf/bench/numa.c
> @@ -175,7 +175,7 @@ struct global_info {
>  	OPT_UINTEGER('s', "nr_secs"	, &p0.nr_secs,		"max number of seconds to run (default: 5 secs)"),
>  	OPT_UINTEGER('u', "usleep"	, &p0.sleep_usecs,	"usecs to sleep per loop iteration"),
>  
> -	OPT_BOOLEAN('R', "data_reads"	, &p0.data_reads,	"access the data via writes (can be mixed with -W)"),
> +	OPT_BOOLEAN('R', "data_reads"	, &p0.data_reads,	"access the data via reads (can be mixed with -W)"),
>  	OPT_BOOLEAN('W', "data_writes"	, &p0.data_writes,	"access the data via writes (can be mixed with -R)"),
>  	OPT_BOOLEAN('B', "data_backwards", &p0.data_backwards,	"access the data backwards as well"),
>  	OPT_BOOLEAN('Z', "data_zero_memset", &p0.data_zero_memset,"access the data via glibc bzero only"),
> 

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

* Re: [PATCH] perf bench numa: Fixes typo in options
  2018-05-07 10:45 ` Yisheng Xie
@ 2018-05-07 15:08   ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 4+ messages in thread
From: Arnaldo Carvalho de Melo @ 2018-05-07 15:08 UTC (permalink / raw)
  To: Yisheng Xie; +Cc: Arnaldo Carvalho de Melo, jolsa, mingo, peterz, linux-kernel

Em Mon, May 07, 2018 at 06:45:31PM +0800, Yisheng Xie escreveu:
> Hi Arnaldo,
> 
> Just in case that you may miss this minor fix.
> 
> Thanks
> Yisheng

Thanks, applied to my perf/core branch.

- Arnaldo

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

* [tip:perf/urgent] perf bench numa: Fix typo in options
  2018-04-25  8:25 [PATCH] perf bench numa: Fixes typo in options Yisheng Xie
  2018-05-07 10:45 ` Yisheng Xie
@ 2018-05-10 18:13 ` tip-bot for Yisheng Xie
  1 sibling, 0 replies; 4+ messages in thread
From: tip-bot for Yisheng Xie @ 2018-05-10 18:13 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: mingo, xieyisheng1, acme, peterz, hpa, linux-kernel, jolsa, tglx

Commit-ID:  2abb80dad3afa9170ae19ca03bb7b4cd1ec06d62
Gitweb:     https://git.kernel.org/tip/2abb80dad3afa9170ae19ca03bb7b4cd1ec06d62
Author:     Yisheng Xie <xieyisheng1@huawei.com>
AuthorDate: Wed, 25 Apr 2018 16:25:07 +0800
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Mon, 7 May 2018 12:17:56 -0300

perf bench numa: Fix typo in options

'R' means access the data via reads instead of writes, fix this typo.

Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1524644707-11030-1-git-send-email-xieyisheng1@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/bench/numa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/bench/numa.c b/tools/perf/bench/numa.c
index 944070e98a2c..63eb49082774 100644
--- a/tools/perf/bench/numa.c
+++ b/tools/perf/bench/numa.c
@@ -175,7 +175,7 @@ static const struct option options[] = {
 	OPT_UINTEGER('s', "nr_secs"	, &p0.nr_secs,		"max number of seconds to run (default: 5 secs)"),
 	OPT_UINTEGER('u', "usleep"	, &p0.sleep_usecs,	"usecs to sleep per loop iteration"),
 
-	OPT_BOOLEAN('R', "data_reads"	, &p0.data_reads,	"access the data via writes (can be mixed with -W)"),
+	OPT_BOOLEAN('R', "data_reads"	, &p0.data_reads,	"access the data via reads (can be mixed with -W)"),
 	OPT_BOOLEAN('W', "data_writes"	, &p0.data_writes,	"access the data via writes (can be mixed with -R)"),
 	OPT_BOOLEAN('B', "data_backwards", &p0.data_backwards,	"access the data backwards as well"),
 	OPT_BOOLEAN('Z', "data_zero_memset", &p0.data_zero_memset,"access the data via glibc bzero only"),

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

end of thread, other threads:[~2018-05-10 18:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-25  8:25 [PATCH] perf bench numa: Fixes typo in options Yisheng Xie
2018-05-07 10:45 ` Yisheng Xie
2018-05-07 15:08   ` Arnaldo Carvalho de Melo
2018-05-10 18:13 ` [tip:perf/urgent] perf bench numa: Fix " tip-bot for Yisheng Xie

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).