perf tests: Show python test script in verbose mode
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 13 Oct 2020 19:22:03 +0000 (16:22 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 13 Oct 2020 19:22:03 +0000 (16:22 -0300)
To help figure out where it is getting the binding.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/python-use.c

index 40ab721..98c6d47 100644 (file)
@@ -18,6 +18,7 @@ int test__python_use(struct test *test __maybe_unused, int subtest __maybe_unuse
                     PYTHONPATH, PYTHON, verbose > 0 ? "" : "2> /dev/null") < 0)
                return -1;
 
+       pr_debug("python usage test: \"%s\"\n", cmd);
        ret = system(cmd) ? -1 : 0;
        free(cmd);
        return ret;