]> Pileus Git - ~andy/linux/commit
perf machine: Simplify synthesize_threads method
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Nov 2013 14:36:12 +0000 (11:36 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Nov 2013 18:56:40 +0000 (15:56 -0300)
commita33fbd56ec83b5421090b4d8f2032f635e6a9488
treefe5cbc7363db903130b7c4922c7e6a5204c2f5ed
parent58d925dcede9e8765876707a33a3406011fe1c11
perf machine: Simplify synthesize_threads method

Several tools (top, kvm) don't need to be called back to process each of
the syntheiszed records, instead relying on the machine__process_event
function to change the per machine data structures that represent
threads and mmaps, so provide a way to ask for this common idiom.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.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-pusqibp8n3c4ynegd1frn4zd@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-kvm.c
tools/perf/builtin-record.c
tools/perf/builtin-top.c
tools/perf/builtin-trace.c
tools/perf/util/machine.c
tools/perf/util/machine.h