]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
perf_counter: Provide hw_perf_counter_setup_online() APIs
authorIngo Molnar <mingo@elte.hu>
Thu, 13 Aug 2009 08:13:22 +0000 (10:13 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 13 Aug 2009 08:13:22 +0000 (10:13 +0200)
commit28402971d869e26271b25301011f667d3a5640c3
tree39fe9451f609c3ad47382595c61db855ee5dc49d
parent8f7a0dc51674ad0dd06155291b0aed60d655943c
perf_counter: Provide hw_perf_counter_setup_online() APIs

Provide weak aliases for hw_perf_counter_setup_online(). This is
used by the BTS patches (for v2.6.32), but it interacts with
fixes so propagate this upstream. (it has no effect as of yet)

Also export perf_counter_output() to architecture code.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_counter.h
kernel/perf_counter.c