linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] perf test: Fix perf_event_attr test failure
@ 2018-11-22 14:04 Adrian Hunter
  2018-11-26 20:07 ` Arnaldo Carvalho de Melo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Adrian Hunter @ 2018-11-22 14:04 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo; +Cc: Jiri Olsa, linux-kernel

Fix inconsistent use of tabs and spaces error:

  # perf test 16 -v
  16: Setup struct perf_event_attr                          :
  --- start ---
  test child forked, pid 20224
    File "/usr/libexec/perf-core/tests/attr.py", line 119
      log.warning("expected %s=%s, got %s" % (t, self[t], other[t]))
                                                                 ^
  TabError: inconsistent use of tabs and spaces in indentation
  test child finished with -1
  ---- end ----
  Setup struct perf_event_attr: FAILED!

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
---
 tools/perf/tests/attr.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/tests/attr.py b/tools/perf/tests/attr.py
index ff9b60b99f52..44090a9a19f3 100644
--- a/tools/perf/tests/attr.py
+++ b/tools/perf/tests/attr.py
@@ -116,7 +116,7 @@ class Event(dict):
             if not self.has_key(t) or not other.has_key(t):
                 continue
             if not data_equal(self[t], other[t]):
-		log.warning("expected %s=%s, got %s" % (t, self[t], other[t]))
+                log.warning("expected %s=%s, got %s" % (t, self[t], other[t]))
 
 # Test file description needs to have following sections:
 # [config]
-- 
2.17.1


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

* Re: [PATCH] perf test: Fix perf_event_attr test failure
  2018-11-22 14:04 [PATCH] perf test: Fix perf_event_attr test failure Adrian Hunter
@ 2018-11-26 20:07 ` Arnaldo Carvalho de Melo
  2018-12-14 20:25 ` [tip:perf/core] " tip-bot for Adrian Hunter
  2018-12-18 13:52 ` tip-bot for Adrian Hunter
  2 siblings, 0 replies; 4+ messages in thread
From: Arnaldo Carvalho de Melo @ 2018-11-26 20:07 UTC (permalink / raw)
  To: Adrian Hunter; +Cc: Jiri Olsa, linux-kernel

Em Thu, Nov 22, 2018 at 04:04:56PM +0200, Adrian Hunter escreveu:
> Fix inconsistent use of tabs and spaces error:

Thanks, applied.

- Arnaldo
 
>   # perf test 16 -v
>   16: Setup struct perf_event_attr                          :
>   --- start ---
>   test child forked, pid 20224
>     File "/usr/libexec/perf-core/tests/attr.py", line 119
>       log.warning("expected %s=%s, got %s" % (t, self[t], other[t]))
>                                                                  ^
>   TabError: inconsistent use of tabs and spaces in indentation
>   test child finished with -1
>   ---- end ----
>   Setup struct perf_event_attr: FAILED!
> 
> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
> ---
>  tools/perf/tests/attr.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/perf/tests/attr.py b/tools/perf/tests/attr.py
> index ff9b60b99f52..44090a9a19f3 100644
> --- a/tools/perf/tests/attr.py
> +++ b/tools/perf/tests/attr.py
> @@ -116,7 +116,7 @@ class Event(dict):
>              if not self.has_key(t) or not other.has_key(t):
>                  continue
>              if not data_equal(self[t], other[t]):
> -		log.warning("expected %s=%s, got %s" % (t, self[t], other[t]))
> +                log.warning("expected %s=%s, got %s" % (t, self[t], other[t]))
>  
>  # Test file description needs to have following sections:
>  # [config]
> -- 
> 2.17.1

-- 

- Arnaldo

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

* [tip:perf/core] perf test: Fix perf_event_attr test failure
  2018-11-22 14:04 [PATCH] perf test: Fix perf_event_attr test failure Adrian Hunter
  2018-11-26 20:07 ` Arnaldo Carvalho de Melo
@ 2018-12-14 20:25 ` tip-bot for Adrian Hunter
  2018-12-18 13:52 ` tip-bot for Adrian Hunter
  2 siblings, 0 replies; 4+ messages in thread
From: tip-bot for Adrian Hunter @ 2018-12-14 20:25 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: jolsa, adrian.hunter, acme, mingo, tglx, hpa, linux-kernel

Commit-ID:  3ebeae6efafd92bd21f600a6300a6492c525d39a
Gitweb:     https://git.kernel.org/tip/3ebeae6efafd92bd21f600a6300a6492c525d39a
Author:     Adrian Hunter <adrian.hunter@intel.com>
AuthorDate: Thu, 22 Nov 2018 16:04:56 +0200
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Thu, 29 Nov 2018 20:42:48 -0300

perf test: Fix perf_event_attr test failure

Fix inconsistent use of tabs and spaces error:

  # perf test 16 -v
  16: Setup struct perf_event_attr                          :
  --- start ---
  test child forked, pid 20224
    File "/usr/libexec/perf-core/tests/attr.py", line 119
      log.warning("expected %s=%s, got %s" % (t, self[t], other[t]))
                                                                 ^
  TabError: inconsistent use of tabs and spaces in indentation
  test child finished with -1
  ---- end ----
  Setup struct perf_event_attr: FAILED!

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20181122140456.16817-1-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/tests/attr.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/tests/attr.py b/tools/perf/tests/attr.py
index ff9b60b99f52..44090a9a19f3 100644
--- a/tools/perf/tests/attr.py
+++ b/tools/perf/tests/attr.py
@@ -116,7 +116,7 @@ class Event(dict):
             if not self.has_key(t) or not other.has_key(t):
                 continue
             if not data_equal(self[t], other[t]):
-		log.warning("expected %s=%s, got %s" % (t, self[t], other[t]))
+                log.warning("expected %s=%s, got %s" % (t, self[t], other[t]))
 
 # Test file description needs to have following sections:
 # [config]

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

* [tip:perf/core] perf test: Fix perf_event_attr test failure
  2018-11-22 14:04 [PATCH] perf test: Fix perf_event_attr test failure Adrian Hunter
  2018-11-26 20:07 ` Arnaldo Carvalho de Melo
  2018-12-14 20:25 ` [tip:perf/core] " tip-bot for Adrian Hunter
@ 2018-12-18 13:52 ` tip-bot for Adrian Hunter
  2 siblings, 0 replies; 4+ messages in thread
From: tip-bot for Adrian Hunter @ 2018-12-18 13:52 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: adrian.hunter, mingo, linux-kernel, jolsa, hpa, tglx, acme

Commit-ID:  741dad88dde296999da30332157ca47f0543747d
Gitweb:     https://git.kernel.org/tip/741dad88dde296999da30332157ca47f0543747d
Author:     Adrian Hunter <adrian.hunter@intel.com>
AuthorDate: Thu, 22 Nov 2018 16:04:56 +0200
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Mon, 17 Dec 2018 14:54:32 -0300

perf test: Fix perf_event_attr test failure

Fix inconsistent use of tabs and spaces error:

  # perf test 16 -v
  16: Setup struct perf_event_attr                          :
  --- start ---
  test child forked, pid 20224
    File "/usr/libexec/perf-core/tests/attr.py", line 119
      log.warning("expected %s=%s, got %s" % (t, self[t], other[t]))
                                                                 ^
  TabError: inconsistent use of tabs and spaces in indentation
  test child finished with -1
  ---- end ----
  Setup struct perf_event_attr: FAILED!

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20181122140456.16817-1-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/tests/attr.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/tests/attr.py b/tools/perf/tests/attr.py
index ff9b60b99f52..44090a9a19f3 100644
--- a/tools/perf/tests/attr.py
+++ b/tools/perf/tests/attr.py
@@ -116,7 +116,7 @@ class Event(dict):
             if not self.has_key(t) or not other.has_key(t):
                 continue
             if not data_equal(self[t], other[t]):
-		log.warning("expected %s=%s, got %s" % (t, self[t], other[t]))
+                log.warning("expected %s=%s, got %s" % (t, self[t], other[t]))
 
 # Test file description needs to have following sections:
 # [config]

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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-22 14:04 [PATCH] perf test: Fix perf_event_attr test failure Adrian Hunter
2018-11-26 20:07 ` Arnaldo Carvalho de Melo
2018-12-14 20:25 ` [tip:perf/core] " tip-bot for Adrian Hunter
2018-12-18 13:52 ` tip-bot for Adrian Hunter

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