perf test: Use header file util/debug.h
PATCH 1/1 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 <[email protected]>
--- tools/perf/tests/python-use.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
tools/perf/tests/python-use.c +1 -2
@@ -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 ) {
Signature · 1 line
2.14.3
Em Mon, May 28, 2018 at 03:48:17PM +0200, Thomas Richter escreveu:
Quoted 2 lines
Use the header file
util/debug.hinstead of
declaration of verbose variable.
Thanks, applied.
- Arnaldo
tip-bot for Thomas Richter
merge botperf test: Use header file util/debug.h
Commit-ID: e9ee0dce45e522221c18b2f24621a0d00d0bff40 Gitweb: https://git.kernel.org/tip/e9ee0dce45e522221c18b2f24621a0d00d0bff40 Author: Thomas Richter <[email protected]> AuthorDate: Mon, 28 May 2018 15:48:17 +0200 Committer: Arnaldo Carvalho de Melo <[email protected]> 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 <[email protected]>
Cc Heiko Carstens <[email protected]>
Cc Hendrik Brueckner <[email protected]>
Cc Martin Schwidefsky <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/tests/python-use.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
tools/perf/tests/python-use.c +1 -2
@@ -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 ) {