perf symbols: Add a 'type' field to struct map
That way we will be able to check if the right symtab is loaded in the underlying DSO. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <1259346563-12568-5-git-send-email-acme@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:

committed by
Ingo Molnar

parent
605ca4ba01
commit
3610583c29
@@ -996,7 +996,7 @@ static void event__process_mmap(event_t *self)
|
||||
struct thread *thread = threads__findnew(self->mmap.pid);
|
||||
|
||||
if (thread != NULL) {
|
||||
struct map *map = map__new(&self->mmap, NULL, 0);
|
||||
struct map *map = map__new(&self->mmap, MAP__FUNCTION, NULL, 0);
|
||||
if (map != NULL)
|
||||
thread__insert_map(thread, map);
|
||||
}
|
||||
|
Reference in New Issue
Block a user