Messages in this thread | | | Date | Fri, 16 May 2014 17:07:54 -0400 (EDT) | From | Vince Weaver <> | Subject | [PATCH 0/3] perf: disable sampled events if no PMU interrupt |
| |
Hello
This patch series adds a common shared interface for returning ENOTSUPP if a user tries to create a sampled event (one with sample_period set) on a machine that has no usable PMU interrupt.
Currently only x86 and ARM are implemented but if the patch is accepted then we can move other architectures over to use the interface.
This patch also has the side effect of enabling perf to work on raspberry-pi machines.
Consideration should also be given to disabling sampling support on machines with buggy PMU interrupts (such as Cortex-A8 and Cortex-A9 ARM platforms).
Vince
| |