linux/tools/perf
Arnaldo Carvalho de Melo f0bf910767 perf buildid-list: We need to check if a file is ELF first
I.e. before we try to use it as a perf.data file by calling
perf_session__new, otherwise we lose the feature that shows the
build id for the given ELF file, this one:

[root@sandy redhat-perfdata-mtech-15]# perf buildid-list -i /root/.debug/.build-id/97/54896de655b6ac088ec2bf5113b35c06f72709
9754896de655b6ac088ec2bf5113b35c06f72709
[root@sandy redhat-perfdata-mtech-15]# perf buildid-list -i /lib/libc-2.12.so
38adaeff4f7c21899b13b28c1a2e6c199ca4c744
[root@sandy redhat-perfdata-mtech-15]#

Regression introduced in:

efad1415 "perf report: Accept fifos as input file"

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Robert Richter <robert.richter@amd.com>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-3ktgyg83fwpqyfpoj0t2ezp0@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2012-12-09 08:46:07 -03:00
..
arch Merge branch 'linus' into perf/core 2012-12-08 15:25:06 +01:00
bench
config perf tools: Always show CHK message when doing try-cc 2012-10-26 11:22:24 -02:00
Documentation perf tools: Don't check configuration on make tags 2012-12-09 08:46:07 -03:00
python
scripts
tests perf evsel: Convert to _is_group_leader method 2012-12-09 08:46:06 -03:00
ui perf diff: Change formula methods to work with pair directly 2012-12-09 08:46:07 -03:00
util perf tools: Fix TUI helpline output 2012-12-09 08:46:07 -03:00
.gitignore
bash_completion
builtin-annotate.c perf tools: Introduce struct hist_browser_timer 2012-11-05 14:03:58 -03:00
builtin-bench.c
builtin-buildid-cache.c perf tools: Move BUILD_ID_SIZE into build-id object 2012-10-29 11:35:32 -02:00
builtin-buildid-list.c perf buildid-list: We need to check if a file is ELF first 2012-12-09 08:46:07 -03:00
builtin-diff.c perf diff: Change formula methods to work with pair directly 2012-12-09 08:46:07 -03:00
builtin-evlist.c perf tools: Add a global variable "const char *input_name" 2012-10-29 11:45:34 -02:00
builtin-help.c perf help: Fix --help for builtins 2012-10-22 12:35:49 -02:00
builtin-inject.c perf inject: Mark a dso if it's used 2012-10-26 11:22:25 -02:00
builtin-kmem.c perf tools: Add a global variable "const char *input_name" 2012-10-29 11:45:34 -02:00
builtin-kvm.c Merge branch 'linus' into perf/core 2012-12-08 15:25:06 +01:00
builtin-list.c
builtin-lock.c perf tools: Add a global variable "const char *input_name" 2012-10-29 11:45:34 -02:00
builtin-probe.c
builtin-record.c perf tools: Ensure single disable call per event in record comand 2012-11-14 16:52:09 -03:00
builtin-report.c perf hists: Introduce perf_hpp__list for period related columns 2012-12-09 08:46:05 -03:00
builtin-sched.c perf tools: Add a global variable "const char *input_name" 2012-10-29 11:45:34 -02:00
builtin-script.c perf script: Add more filter to find_scripts() 2012-10-29 11:46:23 -02:00
builtin-stat.c perf evsel: Convert to _is_group_leader method 2012-12-09 08:46:06 -03:00
builtin-timechart.c perf tools: Add a global variable "const char *input_name" 2012-10-29 11:45:34 -02:00
builtin-top.c perf top: Add missing newline on pr_err call 2012-12-09 08:46:05 -03:00
builtin-trace.c perf trace: Use sched:sched_stat_runtime to provide a thread summary 2012-10-25 10:57:43 -02:00
builtin.h
command-list.txt
CREDITS
design.txt
Makefile perf tools: Don't check configuration on make tags 2012-12-09 08:46:07 -03:00
MANIFEST
perf-archive.sh
perf.c perf tools: Add gtk.<command> config option for launching GTK browser 2012-11-14 16:51:30 -03:00
perf.h Merge branch 'linus' into perf/core 2012-12-08 15:25:06 +01:00