]> bbs.cooldavid.org Git - net-next-2.6.git/commit
perfcounters: enable lowlevel pmc code to schedule counters
authorIngo Molnar <mingo@elte.hu>
Sun, 21 Dec 2008 12:50:42 +0000 (13:50 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 23 Dec 2008 11:45:19 +0000 (12:45 +0100)
commit95cdd2e7851cce79ab839cb0b3cbe68d7911d0f1
treefad7723f344027dd64a1ca44d0117c3da61b75ca
parent78b6084c907cea15bb40a564b974e072f5163781
perfcounters: enable lowlevel pmc code to schedule counters

Allow lowlevel ->enable() op to return an error if a counter can not be
added. This can be used to handle counter constraints.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_counter.c
include/linux/perf_counter.h
kernel/perf_counter.c