]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Synthetize the targeted process
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 11 Nov 2009 03:51:02 +0000 (04:51 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 11 Nov 2009 06:30:17 +0000 (07:30 +0100)
commit802d571bd3206106ab5c0b46c5c841f169c29aa6
tree1f93a976adc94ba751f26ed7294d8abfc0302295
parent7c6bac8aa90abcc4a42f70c6c7cac3a5fce4a747
perf tools: Synthetize the targeted process

Don't forget to also synthetize the targeted process from perf
record or we'll miss its dso in the events and then we won't be
able to deal with its build-id.

We are missing it because it is created after the existing
synthetized tasks but before the counters are enabled and can
send its mapping event.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
LKML-Reference: <1257911467-28276-1-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-record.c