From: Will Deacon Date: Tue, 19 Jul 2011 10:57:30 +0000 (+0100) Subject: ARM: perf: allow armpmu to implement mode exclusion X-Git-Tag: v3.2-rc1~130^2~7^2^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05d22fde3c0b86c8395d8f12ac01fbbc524d73ca;p=pandora-kernel.git ARM: perf: allow armpmu to implement mode exclusion Modern PMUs allow for mode exclusion, so we no longer wish to return -EPERM if it is requested. This patch provides a hook in the armpmu structure for implementing mode exclusion. The hw_perf_event initialisation is slightly delayed so that the backend code can update the structure if required. Acked-by: Jamie Iles Reviewed-by: Jean Pihet Signed-off-by: Will Deacon --- Reading git-diff-tree failed