]> git.baikalelectronics.ru Git - kernel.git/commit
perf session: Make read_build_id routines look at the host_machine too
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 May 2010 16:41:23 +0000 (13:41 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 May 2010 16:45:08 +0000 (13:45 -0300)
commit2ef621d80227596977c81ffca4ebbfed5c00e7ff
tree4a12562d3121571b19d877b5ed2a1749caf1354e
parentdac7875b3f7ef0abeb399cab47bbd306bcfcdb19
perf session: Make read_build_id routines look at the host_machine too

The changes made to support host and guest machines in a session, that
started when the 'perf kvm' tool was introduced ended up introducing a
bug where the host_machine was not having its DSOs traversed for
build-id processing.

Fix it by moving some methods to the right classes and considering the
host_machine when processing build-ids.

Reported-by: Tom Zanussi <tzanussi@gmail.com>
Reported-by: Stephane Eranian <eranian@google.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/header.c
tools/perf/util/session.c
tools/perf/util/session.h
tools/perf/util/symbol.c
tools/perf/util/symbol.h