All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [Performance Events] Fix typo in tools/perf/evlist.c
@ 2017-01-10 11:00 Soramichi AKIYAMA
  2017-01-10 13:46 ` Arnaldo Carvalho de Melo
  2017-01-12  8:30 ` [tip:perf/core] perf evlist: Fix typo in perf_evlist__start_workload() tip-bot for Soramichi Akiyama
  0 siblings, 2 replies; 3+ messages in thread
From: Soramichi AKIYAMA @ 2017-01-10 11:00 UTC (permalink / raw)
  To: linux-kernel; +Cc: peterz, mingo, acme, alexander.shishkin

This patch fixes a typo: s/enable to/unable to/

Signed-off-by: Soramichi Akiyama <akiyama@m.soramichi.jp>
---
 tools/perf/util/evlist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c
index d92e020..23e6f33 100644
--- a/tools/perf/util/evlist.c
+++ b/tools/perf/util/evlist.c
@@ -1797,7 +1797,7 @@ int perf_evlist__start_workload(struct perf_evlist *evlist)
                 */
                ret = write(evlist->workload.cork_fd, &bf, 1);
                if (ret < 0)
-                       perror("enable to write to pipe");
+                       perror("unable to write to pipe");
 
                close(evlist->workload.cork_fd);
                return ret;
-- 
2.1.4

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

* Re: [PATCH] [Performance Events] Fix typo in tools/perf/evlist.c
  2017-01-10 11:00 [PATCH] [Performance Events] Fix typo in tools/perf/evlist.c Soramichi AKIYAMA
@ 2017-01-10 13:46 ` Arnaldo Carvalho de Melo
  2017-01-12  8:30 ` [tip:perf/core] perf evlist: Fix typo in perf_evlist__start_workload() tip-bot for Soramichi Akiyama
  1 sibling, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2017-01-10 13:46 UTC (permalink / raw)
  To: Soramichi AKIYAMA; +Cc: linux-kernel, peterz, mingo, alexander.shishkin

Em Tue, Jan 10, 2017 at 08:00:06PM +0900, Soramichi AKIYAMA escreveu:
> This patch fixes a typo: s/enable to/unable to/

Thanks, somehow it didn't apply cleanly, did it manually, added Fixes:
tag, ended up as:

commit c628c4d72895768624d0386b672992005c2561ac
Author: Soramichi Akiyama <akiyama@m.soramichi.jp>
Date:   Tue Jan 10 10:41:00 2017 -0300

    perf evlist: Fix typo in perf_evlist__start_workload()
    
    This patch fixes a typo: s/enable to/unable to/
    
    Signed-off-by: Soramichi AKIYAMA <akiyama@m.soramichi.jp>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Namhyung Kim <namhyung.kim@lge.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Fixes: bcf3145fbeb1 ("perf evlist: Enhance perf_evlist__start_workload()")
    Link: http://lkml.kernel.org/r/20170110200006.e1f7a766b4faf1f107ae2e1b@m.soramichi.jp
    [ Wasn't applying, fixed it up by hand, added Fixes: tag ]
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c
index bdff42e3c75e..dc4df3d2660e 100644
--- a/tools/perf/util/evlist.c
+++ b/tools/perf/util/evlist.c
@@ -1801,7 +1801,7 @@ int perf_evlist__start_workload(struct perf_evlist *evlist)
 		 */
 		ret = write(evlist->workload.cork_fd, &bf, 1);
 		if (ret < 0)
-			perror("enable to write to pipe");
+			perror("unable to write to pipe");
 
 		close(evlist->workload.cork_fd);
 		return ret;
 
> Signed-off-by: Soramichi Akiyama <akiyama@m.soramichi.jp>
> ---
>  tools/perf/util/evlist.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c
> index d92e020..23e6f33 100644
> --- a/tools/perf/util/evlist.c
> +++ b/tools/perf/util/evlist.c
> @@ -1797,7 +1797,7 @@ int perf_evlist__start_workload(struct perf_evlist *evlist)
>                  */
>                 ret = write(evlist->workload.cork_fd, &bf, 1);
>                 if (ret < 0)
> -                       perror("enable to write to pipe");
> +                       perror("unable to write to pipe");
>  
>                 close(evlist->workload.cork_fd);
>                 return ret;
> -- 
> 2.1.4

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

* [tip:perf/core] perf evlist: Fix typo in perf_evlist__start_workload()
  2017-01-10 11:00 [PATCH] [Performance Events] Fix typo in tools/perf/evlist.c Soramichi AKIYAMA
  2017-01-10 13:46 ` Arnaldo Carvalho de Melo
@ 2017-01-12  8:30 ` tip-bot for Soramichi Akiyama
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Soramichi Akiyama @ 2017-01-12  8:30 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: mingo, acme, namhyung.kim, linux-kernel, hpa, tglx, akiyama,
	peterz, alexander.shishkin

Commit-ID:  e978be9ea2990f1af60fe10eadd2312a6250e0b8
Gitweb:     http://git.kernel.org/tip/e978be9ea2990f1af60fe10eadd2312a6250e0b8
Author:     Soramichi Akiyama <akiyama@m.soramichi.jp>
AuthorDate: Tue, 10 Jan 2017 10:41:00 -0300
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Wed, 11 Jan 2017 16:48:01 -0300

perf evlist: Fix typo in perf_evlist__start_workload()

This patch fixes a typo: s/enable to/unable to/

Signed-off-by: Soramichi AKIYAMA <akiyama@m.soramichi.jp>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Fixes: bcf3145fbeb1 ("perf evlist: Enhance perf_evlist__start_workload()")
Link: http://lkml.kernel.org/r/20170110200006.e1f7a766b4faf1f107ae2e1b@m.soramichi.jp
[ Wasn't applying, fixed it up by hand, added Fixes: tag ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/util/evlist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c
index d92e020..23e6f33 100644
--- a/tools/perf/util/evlist.c
+++ b/tools/perf/util/evlist.c
@@ -1797,7 +1797,7 @@ int perf_evlist__start_workload(struct perf_evlist *evlist)
 		 */
 		ret = write(evlist->workload.cork_fd, &bf, 1);
 		if (ret < 0)
-			perror("enable to write to pipe");
+			perror("unable to write to pipe");
 
 		close(evlist->workload.cork_fd);
 		return ret;

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

end of thread, other threads:[~2017-01-12  8:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-10 11:00 [PATCH] [Performance Events] Fix typo in tools/perf/evlist.c Soramichi AKIYAMA
2017-01-10 13:46 ` Arnaldo Carvalho de Melo
2017-01-12  8:30 ` [tip:perf/core] perf evlist: Fix typo in perf_evlist__start_workload() tip-bot for Soramichi Akiyama

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.