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


Groups > linux.kernel > #1318311

[PATCH 10/26] perf config: Document 'buildid.dir' variable in man page

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 10/26] perf config: Document 'buildid.dir' variable in man page
Date 2016-01-26 20:40 +0100
Message-ID <qVhD3-nw-1@gated-at.bofh.it> (permalink)
References <qVhjH-cn-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Taeung Song <treeze.taeung@gmail.com>

Explain 'buildid.dir' variable.

Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1452253193-30502-4-git-send-email-treeze.taeung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/Documentation/perf-config.txt | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index ccbdb64696a7..a095f0cabf5e 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -154,6 +154,21 @@ tui.*, gtk.*::
 	will make the TUI be the default for the 'top' subcommand. Those will be
 	available if the required libs were detected at tool build time.
 
+buildid.*::
+	buildid.dir::
+		Each executable and shared library in modern distributions comes with a
+		content based identifier that, if available, will be inserted in a
+		'perf.data' file header to, at analysis time find what is needed to do
+		symbol resolution, code annotation, etc.
+
+		The recording tools also stores a hard link or copy in a per-user
+		directory, $HOME/.debug/, of binaries, shared libraries, /proc/kallsyms
+		and /proc/kcore files to be used at analysis time.
+
+		The buildid.dir variable can be used to either change this directory
+		cache location, or to disable it altogether. If you want to disable it,
+		set buildid.dir to /dev/null. The default is $HOME/.debug
+
 SEE ALSO
 --------
 linkperf:perf[1]
-- 
2.5.0

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


Thread

[PATCH 00/26] perf/core improvements and fixes Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-01-26 20:30 +0100
  [PATCH 15/26] perf hists browser: Only offer symbol scripting when a symbol is under the cursor Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-01-26 20:30 +0100
  [PATCH 10/26] perf config: Document 'buildid.dir' variable in man page Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-01-26 20:40 +0100
  [PATCH 08/26] perf config: Document variables for 'colors' section in man page Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-01-26 20:40 +0100
  [PATCH 07/26] perf annotate: Rename 'colors.code' to 'colors.jump_arrows' Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-01-26 20:40 +0100
  [PATCH 09/26] perf config: Document variables for 'tui' and 'gtk' sections in man page Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-01-26 20:40 +0100

csiph-web