]> git.baikalelectronics.ru Git - kernel.git/commit
perf session: Move threads to struct machine
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 9 Nov 2011 15:24:25 +0000 (13:24 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 Nov 2011 12:35:31 +0000 (10:35 -0200)
commitef90303cac1edd7a818ca61d79df78c3df2a8d1d
treef70a5cceecb05ad86b043f7b7cde6b5401af536f
parent62b530f8e2a7f64b3a4879f6b8e01c8cefb6afd8
perf session: Move threads to struct machine

The 'machine' abstraction was introduced with 'perf kvm' where we could
have samples for the host and multiple guests, but at the time we ended
up keeping the list of all machines threads all in
session->host_machine.

Move the threads rb_tree to struct machine to separate the namespaces.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-mdg7sm6j3va09vtgj49gbsrp@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/build-id.c
tools/perf/util/map.c
tools/perf/util/map.h
tools/perf/util/session.c
tools/perf/util/session.h
tools/perf/util/thread.c