* [PATCH] perf test: Use header file util/debug.h
@ 2018-05-28 13:48 Thomas Richter
2018-05-28 17:28 ` Arnaldo Carvalho de Melo
2018-06-07 8:13 ` [tip:perf/urgent] " tip-bot for Thomas Richter
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Richter @ 2018-05-28 13:48 UTC (permalink / raw)
To: linux-kernel, linux-perf-users, acme
Cc: brueckner, schwidefsky, heiko.carstens, Thomas Richter
Use the header file util/debug.h instead of
declaration of verbose variable.
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
---
tools/perf/tests/python-use.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/perf/tests/python-use.c b/tools/perf/tests/python-use.c
index 5d2df65ada6a..40ab72149ce1 100644
--- a/tools/perf/tests/python-use.c
+++ b/tools/perf/tests/python-use.c
@@ -7,8 +7,7 @@
#include <stdlib.h>
#include <linux/compiler.h>
#include "tests.h"
-
-extern int verbose;
+#include "util/debug.h"
int test__python_use(struct test *test __maybe_unused, int subtest __maybe_unused)
{
--
2.14.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] perf test: Use header file util/debug.h
2018-05-28 13:48 [PATCH] perf test: Use header file util/debug.h Thomas Richter
@ 2018-05-28 17:28 ` Arnaldo Carvalho de Melo
2018-06-07 8:13 ` [tip:perf/urgent] " tip-bot for Thomas Richter
1 sibling, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2018-05-28 17:28 UTC (permalink / raw)
To: Thomas Richter
Cc: linux-kernel, linux-perf-users, brueckner, schwidefsky,
heiko.carstens
Em Mon, May 28, 2018 at 03:48:17PM +0200, Thomas Richter escreveu:
> Use the header file util/debug.h instead of
> declaration of verbose variable.
Thanks, applied.
- Arnaldo
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip:perf/urgent] perf test: Use header file util/debug.h
2018-05-28 13:48 [PATCH] perf test: Use header file util/debug.h Thomas Richter
2018-05-28 17:28 ` Arnaldo Carvalho de Melo
@ 2018-06-07 8:13 ` tip-bot for Thomas Richter
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Thomas Richter @ 2018-06-07 8:13 UTC (permalink / raw)
To: linux-tip-commits
Cc: schwidefsky, brueckner, hpa, acme, tglx, tmricht, mingo,
linux-kernel, heiko.carstens
Commit-ID: e9ee0dce45e522221c18b2f24621a0d00d0bff40
Gitweb: https://git.kernel.org/tip/e9ee0dce45e522221c18b2f24621a0d00d0bff40
Author: Thomas Richter <tmricht@linux.ibm.com>
AuthorDate: Mon, 28 May 2018 15:48:17 +0200
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Mon, 4 Jun 2018 10:28:53 -0300
perf test: Use header file util/debug.h
Use the header file util/debug.h instead of declaration of verbose
variable.
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Link: http://lkml.kernel.org/r/20180528134817.36643-1-tmricht@linux.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/tests/python-use.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/perf/tests/python-use.c b/tools/perf/tests/python-use.c
index 5d2df65ada6a..40ab72149ce1 100644
--- a/tools/perf/tests/python-use.c
+++ b/tools/perf/tests/python-use.c
@@ -7,8 +7,7 @@
#include <stdlib.h>
#include <linux/compiler.h>
#include "tests.h"
-
-extern int verbose;
+#include "util/debug.h"
int test__python_use(struct test *test __maybe_unused, int subtest __maybe_unused)
{
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-06-07 8:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-28 13:48 [PATCH] perf test: Use header file util/debug.h Thomas Richter
2018-05-28 17:28 ` Arnaldo Carvalho de Melo
2018-06-07 8:13 ` [tip:perf/urgent] " tip-bot for Thomas Richter
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.