]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee829e9a8a88339c369b2b1b8be91302fc241a1b
tree3f62ec4728bda590c078178df90e5f689e9e721a
parent6aae00917d6ca3b8be4edaf7df4f464ba756c079
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