commit | 05d22fde3c0b86c8395d8f12ac01fbbc524d73ca | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Tue Jul 19 11:57:30 2011 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Wed Aug 31 10:18:01 2011 +0100 |
tree | e0ea6c8b2a90a8dc02c7bcea9288b9176b3f7b69 | |
parent | ecf5a893211c26e02b9d4cfd6ba2183473ac0203 [diff] |
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 <jamie@jamieiles.com> Reviewed-by: Jean Pihet <j-pihet@ti.com> Signed-off-by: Will Deacon <will.deacon@arm.com>