perf symbols: Treat all memory maps without dso file as loaded
authorJiri Olsa <jolsa@redhat.com>
Wed, 24 Aug 2011 13:18:34 +0000 (15:18 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 29 Sep 2011 20:10:48 +0000 (17:10 -0300)
commit87ffef79ab7562ca4a1f6f22ed7ddef1c434bc24
tree3f62ec4728bda590c078178df90e5f689e9e721a
parente78cb3628b343b7b69d8f3632aabef74669ffa25
perf symbols: Treat all memory maps without dso file as loaded

The stack/vdso/heap memory maps dont have any dso file.  Setting the
perf dso objects as 'loaded' for these maps, we avoid unnecessary
warnings like:

  "Failed to open [stack], continuing without symbols"

All map__find_* functions still return NULL when searching for symbols
in these maps.

Link: http://lkml.kernel.org/r/20110824131834.GA2007@jolsa.brq.redhat.com
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/map.c