diff options
author | Will Deacon <will.deacon@arm.com> | 2011-07-19 11:57:30 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2011-08-31 10:18:01 +0100 |
commit | 05d22fde3c0b86c8395d8f12ac01fbbc524d73ca (patch) | |
tree | e0ea6c8b2a90a8dc02c7bcea9288b9176b3f7b69 /tools/perf/scripts/python/netdev-times.py | |
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>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions