[PATCH] perf: RISC-V: Remove PERF_HES_STOPPED flag checking in riscv_pmu_start()

Palmer Dabbelt palmer at rivosinc.com
Wed Jul 12 08:52:17 PDT 2023


On Mon, 10 Jul 2023 15:43:28 +0000, Eric Lin wrote:
> Since commit 096b52fd2bb4 ("perf: RISC-V: throttle perf events") the
> perf_sample_event_took() function was added to report time spent in
> overflow interrupts. If the interrupt takes too long, the perf framework
> will lower the sysctl_perf_event_sample_rate and max_samples_per_tick.
> When hwc->interrupts is larger than max_samples_per_tick, the
> hwc->interrupts will be set to MAX_INTERRUPTS, and events will be
> throttled within the __perf_event_account_interrupt() function.
> 
> [...]

Applied, thanks!

[1/1] perf: RISC-V: Remove PERF_HES_STOPPED flag checking in riscv_pmu_start()
      https://git.kernel.org/palmer/c/66843b14fb71

Best regards,
-- 
Palmer Dabbelt <palmer at rivosinc.com>




More information about the linux-arm-kernel mailing list