perf_counter: Allow sharing of output channels
commita4be7c2778d1fd8e0a8a5607bec91fa221ab2c91
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 19 Aug 2009 09:18:27 +0000 (19 11:18 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 25 Aug 2009 07:36:13 +0000 (25 09:36 +0200)
treee7aca50900a98d68173e6a45ead2815d75e2e197
parentfa289beca9de9119c7760bd984f3640da21bc94c
perf_counter: Allow sharing of output channels

Provide the ability to configure a counter to send its output
to another (already existing) counter's output stream.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: stephane eranian <eranian@googlemail.com>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <20090819092023.980284148@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_counter.h
kernel/perf_counter.c