Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: perf: added capabilities for legacy PMU
Added the PERF_PMU_CAP_NO_INTERRUPT flag because the legacy pmu driver does not provide sampling capabilities Added the PERF_PMU_CAP_NO_EXCLUDE flag because the legacy pmu driver does not provide the ability to disable counter incrementation in different privilege modes Suggested-by: Atish Patra <[email protected]> Signed-off-by: Vadim Shakirov <[email protected]> Reviewed-by: Atish Patra <[email protected]> Fixes: 9b3e150 ("RISC-V: Add a simple platform driver for RISC-V legacy perf") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
- Loading branch information