This adds documentation on the environment variables needed to the
message telling that no conversion support is compiled in.

Cc: Peter Zijlstra <pet...@infradead.org>
Cc: Ingo Molnar <mi...@redhat.com>
Cc: Arnaldo Carvalho de Melo <a...@kernel.org>
Cc: Alexander Shishkin <alexander.shish...@linux.intel.com>
Cc: Mathieu Desnoyers <mathieu.desnoy...@efficios.com>
Cc: Julien Desfossez <jdesfos...@efficios.com>
Cc: Francis Deslauriers <francis.deslauri...@efficios.com>
Cc: Jiri Olsa <jo...@kernel.org>
Cc: Geneviève Bastien <gbast...@versatic.net>
Signed-off-by: Geneviève Bastien <gbast...@versatic.net>
---
 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 0adb5f82335a..46cd8490baf4 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
 
-- 
2.13.3

Reply via email to