From: Will Deacon Date: Fri, 30 Apr 2010 10:34:26 +0000 (+0100) Subject: ARM: 6071/1: perf-events: allow modules to query the number of hardware counters X-Git-Tag: v2.6.35-rc1~503^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=929f5199448a67d41bb249d58815ef77bcd53622;p=pandora-kernel.git ARM: 6071/1: perf-events: allow modules to query the number of hardware counters For OProfile to initialise oprofilefs correctly, it needs to know the number of counters it can represent. This patch adds a function to the ARM perf-events backend to return the number of hardware counters available for the current PMU. Cc: Jamie Iles Signed-off-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed