Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1698243

[PATCH 3/3] perf: Add doc when no conversion support compiled

From Geneviève Bastien <gbastien@versatic.net>
Newsgroups linux.kernel
Subject [PATCH 3/3] perf: Add doc when no conversion support compiled
Date 2017-07-27 20:40 +0200
Message-ID <u7VRw-195-19@gated-at.bofh.it> (permalink)
References <u7VRv-195-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Julien Desfossez <jdesfossez@efficios.com>
Cc: Francis Deslauriers <francis.deslauriers@efficios.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Geneviève Bastien <gbastien@versatic.net>
Signed-off-by: Geneviève Bastien <gbastien@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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] perf tools: Add callchain to ctf conversion Geneviève Bastien <gbastien@versatic.net> - 2017-07-27 20:40 +0200
  [PATCH 3/3] perf: Add doc when no conversion support compiled Geneviève Bastien <gbastien@versatic.net> - 2017-07-27 20:40 +0200
    [tip:perf/core] perf data: Add doc when no conversion support  compiled "tip-bot for Geneviève Bastien" <tipbot@zytor.com> - 2017-07-30 11:50 +0200
  Re: [PATCH 1/3] perf tools: Add callchain to ctf conversion Jiri Olsa <jolsa@redhat.com> - 2017-07-28 11:30 +0200
    Re: [PATCH 1/3] perf tools: Add callchain to ctf conversion Genevieve Bastien <gbastien@versatic.net> - 2017-07-28 15:50 +0200
    Re: [PATCH 1/3] perf tools: Add callchain to ctf conversion Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-07-28 17:00 +0200
  [tip:perf/core] perf data: Add callchain to CTF conversion "tip-bot for Geneviève Bastien" <tipbot@zytor.com> - 2017-07-30 11:50 +0200

csiph-web