perf symbols: Record the domain of DSOs in HEADER_BUILD_ID header table
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 7 Jan 2010 21:59:39 +0000 (19:59 -0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 13 Jan 2010 09:09:16 +0000 (10:09 +0100)
commita89e5abe3efcc7facc666d3985769278937f86b0
tree4aa271d7d1d751ff842bb23874fcb91b384343cc
parentfed5af61dc0d9402d26e7fb8fb9731a60a8e05ca
perf symbols: Record the domain of DSOs in HEADER_BUILD_ID header table

So that we can restore them to the right DSO list (either
dsos__kernel or dsos__user).

We do that just like the kernel does for the other events,
encoding PERF_RECORD_MISC_{KERNEL,USER} in perf_event_header.

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: <1262901583-8074-2-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/header.c
tools/perf/util/session.c
tools/perf/util/symbol.c
tools/perf/util/symbol.h