[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-6b7007af728df7258bb60ed73099be3b59b3030e@git.kernel.org>
Date: Sun, 30 Jul 2017 02:43:14 -0700
From: "tip-bot for Geneviève Bastien" <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: peterz@...radead.org, linux-kernel@...r.kernel.org,
mathieu.desnoyers@...icios.com, acme@...hat.com,
alexander.shishkin@...ux.intel.com, jolsa@...nel.org,
mingo@...nel.org, gbastien@...satic.net, hpa@...or.com,
francis.deslauriers@...icios.com, tglx@...utronix.de,
jdesfossez@...icios.com
Subject: [tip:perf/core] perf data: Add doc when no conversion support
compiled
Commit-ID: 6b7007af728df7258bb60ed73099be3b59b3030e
Gitweb: http://git.kernel.org/tip/6b7007af728df7258bb60ed73099be3b59b3030e
Author: Geneviève Bastien <gbastien@...satic.net>
AuthorDate: Thu, 27 Jul 2017 14:12:05 -0400
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Fri, 28 Jul 2017 16:30:45 -0300
perf data: Add doc when no conversion support compiled
This adds documentation on the environment variables needed to the
message telling that no conversion support is compiled in.
Committer testing:
$ make -C tools/perf install
$ perf data convert --all --to-ctf myctftrace
No conversion support compiled in. perf should be compiled with environment variables LIBBABELTRACE=1 and LIBBABELTRACE_DIR=/path/to/libbabeltrace/
$
Signed-off-by: Geneviève Bastien <gbastien@...satic.net>
Acked-by: Jiri Olsa <jolsa@...nel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@...hat.com>
Cc: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Francis Deslauriers <francis.deslauriers@...icios.com>
Cc: Julien Desfossez <jdesfossez@...icios.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
Cc: Peter Zijlstra <peterz@...radead.org>
Link: http://lkml.kernel.org/r/20170727181205.24843-3-gbastien@versatic.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/perf/builtin-data.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/builtin-data.c b/tools/perf/builtin-data.c
index 0adb5f8..46cd849 100644
--- a/tools/perf/builtin-data.c
+++ b/tools/perf/builtin-data.c
@@ -69,7 +69,7 @@ static int cmd_data_convert(int argc, const char **argv)
};
#ifndef HAVE_LIBBABELTRACE_SUPPORT
- pr_err("No conversion support compiled in.\n");
+ pr_err("No conversion support compiled in. perf should be compiled with environment variables LIBBABELTRACE=1 and LIBBABELTRACE_DIR=/path/to/libbabeltrace/\n");
return -1;
#endif
Powered by blists - more mailing lists