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
Makefile -rw-r--r-- 227 bytes
zfcp_aux.c -rw-r--r-- 14.6 KB
zfcp_ccw.c -rw-r--r-- 9.6 KB
zfcp_dbf.c -rw-r--r-- 19.6 KB
zfcp_dbf.h -rw-r--r-- 11.2 KB
zfcp_def.h -rw-r--r-- 10.1 KB
zfcp_erp.c -rw-r--r-- 45.3 KB
zfcp_ext.h -rw-r--r-- 7.9 KB
zfcp_fc.c -rw-r--r-- 28.3 KB
zfcp_fc.h -rw-r--r-- 7.5 KB
zfcp_fsf.c -rw-r--r-- 66.0 KB
zfcp_fsf.h -rw-r--r-- 12.7 KB
zfcp_qdio.c -rw-r--r-- 13.3 KB
zfcp_qdio.h -rw-r--r-- 7.0 KB
zfcp_reqlist.h -rw-r--r-- 5.4 KB
zfcp_scsi.c -rw-r--r-- 22.1 KB
zfcp_sysfs.c -rw-r--r-- 18.9 KB
zfcp_unit.c -rw-r--r-- 6.3 KB

back to top