perf symbols: Do not read symbols/data from device files
authorJiri Olsa <jolsa@kernel.org>
Wed, 20 Jan 2016 11:56:32 +0000 (12:56 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 26 Jan 2016 14:52:43 +0000 (11:52 -0300)
commit403567217d3fa5d4801f820317ada52e5c5f0e53
tree763bb6022b244a28eb7f64da660e450c014b3d24
parentd85ce830eef6c10d1e9617172dea4681f02b8424
perf symbols: Do not read symbols/data from device files

With mem sampling we could get data source within mapped device file.
Processing such sample would block during report phase on trying to read
the device file.

Chacking for device files and skip the processing if it's detected.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1453290995-18485-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/dso.c
tools/perf/util/symbol.c
tools/perf/util/util.c
tools/perf/util/util.h