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

Cc: Peter Zijlstra <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Julien Desfossez <[email protected]>
Cc: Francis Deslauriers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Geneviève Bastien <[email protected]>
Signed-off-by: Geneviève Bastien <[email protected]>
---
 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