path: root/tools/perf/Documentation/perf-buildid-list.txt
diff options
authorArnaldo Carvalho de Melo <>2011-08-29 08:33:17 -0300
committerArnaldo Carvalho de Melo <>2011-09-29 16:41:37 -0300
commit7a6f205d623afaf05aee387aa6bc57fa43421061 (patch)
tree30c3976fd7f4e028c6c3b7819e26a3db4059fbec /tools/perf/Documentation/perf-buildid-list.txt
parentf2add9cd66c87baea6762b099ee38ee742207699 (diff)
perf buildid-list: Support showing the build id in an ELF file
Try first reading the build id, validating that it is an ELF file, etc. Cheap as libelf will bail out as soon as the magic number check fails. Useful when investigating debuginfo packaging problems like this one: [root@emilia ~]# perf buildid-list -i /usr/lib/debug/lib/modules/`uname -r`/vmlinux 77bb4ea591a602d455ace759a377c9adfff1aba3 [root@emilia ~]# perf buildid-list -k 07b0c016a2b30004e86132d0239945b1e88f5d75 [root@emilia ~]# Cc: David Ahern <> Cc: Frederic Weisbecker <> Cc: Mike Galbraith <> Cc: Paul Mackerras <> Cc: Peter Zijlstra <> Cc: Stephane Eranian <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
Diffstat (limited to 'tools/perf/Documentation/perf-buildid-list.txt')
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/Documentation/perf-buildid-list.txt b/tools/perf/Documentation/perf-buildid-list.txt
index 770a7f3bd754..cc22325ffd1b 100644
--- a/tools/perf/Documentation/perf-buildid-list.txt
+++ b/tools/perf/Documentation/perf-buildid-list.txt
@@ -16,7 +16,8 @@ This command displays the buildids found in a file, so that other
tools can be used to fetch packages with matching symbol tables for use by
perf report.
-It can also be used to show the build id of the running kernel.
+It can also be used to show the build id of the running kernel or in an ELF
+file using -i/--input.