diff options
author | Stephane Eranian <eranian@google.com> | 2014-02-20 10:32:55 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-02-24 16:24:38 -0300 |
commit | 0d3dc5e8b85a144aaeb5dc26f7f2113e4c4e7e81 (patch) | |
tree | 70d0b21e7c981a4a7b4c867048d633fa0dca4afa /tools/vm/slabinfo.c | |
parent | 9e8c06eaba76392644825a72d965ffa5f2a5784a (diff) | |
download | op-kernel-dev-0d3dc5e8b85a144aaeb5dc26f7f2113e4c4e7e81.zip op-kernel-dev-0d3dc5e8b85a144aaeb5dc26f7f2113e4c4e7e81.tar.gz |
perf symbols: Check return value of filename__read_debuglink()
When dso__read_binary_type_filename() called, it doesn't check the
return value of filename__read_debuglink() so that it'll try to open the
debuglink file even if it doesn't exist.
Also fix return value of the filename__read_debuglink() as it always
return -1 regardless of the result.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Cody P Schafer <cody@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1392859976-32760-3-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/vm/slabinfo.c')
0 files changed, 0 insertions, 0 deletions