perf record: Use per-task-per-cpu events for inherited events
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 16 Dec 2009 16:55:56 +0000 (17:55 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Dec 2009 17:30:13 +0000 (18:30 +0100)
commit60ab271617cec607380099f3ed8e84916e48323b
treefc43fd9f59e2743239c1c24efaf8686e9bc30f99
parent856e96608a72412d319e498a3a7c557571f811bd
perf record: Use per-task-per-cpu events for inherited events

Create events with a pid and cpu contraint for inherited events
so that we get a stream per cpu, instead of all cpus contending
on a single stream.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: fweisbec@gmail.com
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <20091216165904.987643843@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-record.c