]> git.baikalelectronics.ru Git - kernel.git/commit
perf session: create_kernel_maps should use ->host_machine
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 10 May 2010 15:51:05 +0000 (12:51 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 10 May 2010 15:51:05 +0000 (12:51 -0300)
commit058b7152c4cf0c9ec72a5940739b5271ccba75d2
tree3df771498254ed1e6ed374031cd32e7f4e51e753
parent7eb209167f4d690a9e62e19852765da5ba94d115
perf session: create_kernel_maps should use ->host_machine

Using machines__create_kernel_maps(..., HOST_KERNEL_ID) it would create
another machine instance for the host machine, and since 454cd4d we have
it out of the machines rb_tree.

Fix it by using machine__create_kernel_maps(&self->host_machine)
directly.

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: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/session.c