aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2016-09-20 18:12:45 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-09-20 16:20:21 -0300
commit3c028a0cb5b71f47d523bc8ad2c597cb257f41fb (patch)
tree782214a4e3c7cfd92453664ebec061297452711f /kernel
parente3b60bc93d81e0542ac433df226b8de8b963533e (diff)
perf symbols: Do not open device filesperf-core-for-mingo-20160920
The dso__read_binary_type_filename gets the dso's file name to open. We need to check it for regular file before trying to open it, otherwise we might get stuck with device file. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Andi Kleen <andi@firstfloor.org> Cc: David Ahern <dsahern@gmail.com> Cc: Don Zickus <dzickus@redhat.com> Cc: Joe Mario <jmario@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/20160920161245.GA8995@krava Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions