Revision 3619ef76b37d4803bc9daee9d03d82c8526db378 authored by Namhyung Kim on 08 June 2017, 07:31:01 UTC, committed by Arnaldo Carvalho de Melo on 08 June 2017, 18:38:41 UTC
The commit 6ebd2547dd24 ("perf annotate: Fix a bug following symbolic
link of a build-id file") changed to use dirname to follow the symlink.
But it only considers new-style build-id cache names so old names fail
on readlink() and force to use system path which might not available.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Taeung Song <treeze.taeung@gmail.com>
Cc: Wang Nan <wangnan0@huawei.com>
Cc: kernel-team@lge.com
Fixes: 6ebd2547dd24 ("perf annotate: Fix a bug following symbolic link of a build-id file")
Link: http://lkml.kernel.org/r/20170608073109.30699-2-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 14fc42f
History
File Mode Size
Kconfig -rw-r--r-- 9.2 KB
Makefile -rw-r--r-- 1.2 KB
altera_ps2.c -rw-r--r-- 3.7 KB
ambakmi.c -rw-r--r-- 4.4 KB
ams_delta_serio.c -rw-r--r-- 4.9 KB
apbps2.c -rw-r--r-- 5.7 KB
arc_ps2.c -rw-r--r-- 6.4 KB
at32psif.c -rw-r--r-- 8.1 KB
ct82c710.c -rw-r--r-- 6.6 KB
gscps2.c -rw-r--r-- 11.3 KB
hil_mlc.c -rw-r--r-- 25.1 KB
hp_sdc.c -rw-r--r-- 28.5 KB
hp_sdc_mlc.c -rw-r--r-- 9.2 KB
hyperv-keyboard.c -rw-r--r-- 10.5 KB
i8042-io.h -rw-r--r-- 1.9 KB
i8042-ip22io.h -rw-r--r-- 1.4 KB
i8042-jazzio.h -rw-r--r-- 1.3 KB
i8042-ppcio.h -rw-r--r-- 1.1 KB
i8042-snirm.h -rw-r--r-- 1.4 KB
i8042-sparcio.h -rw-r--r-- 3.3 KB
i8042-unicore32io.h -rw-r--r-- 1.5 KB
i8042-x86ia64io.h -rw-r--r-- 27.0 KB
i8042.c -rw-r--r-- 36.9 KB
i8042.h -rw-r--r-- 2.1 KB
libps2.c -rw-r--r-- 8.5 KB
maceps2.c -rw-r--r-- 5.3 KB
olpc_apsp.c -rw-r--r-- 7.4 KB
parkbd.c -rw-r--r-- 5.6 KB
pcips2.c -rw-r--r-- 4.8 KB
ps2mult.c -rw-r--r-- 6.7 KB
q40kbd.c -rw-r--r-- 4.5 KB
rpckbd.c -rw-r--r-- 4.2 KB
sa1111ps2.c -rw-r--r-- 8.0 KB
serio.c -rw-r--r-- 24.8 KB
serio_raw.c -rw-r--r-- 9.9 KB
serport.c -rw-r--r-- 7.2 KB
sun4i-ps2.c -rw-r--r-- 8.6 KB
userio.c -rw-r--r-- 6.5 KB
xilinx_ps2.c -rw-r--r-- 10.8 KB

back to top