[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <168917713751.21773.4886524771952268051.b4-ty@rivosinc.com>
Date: Wed, 12 Jul 2023 08:52:17 -0700
From: Palmer Dabbelt <palmer@...osinc.com>
To: atishp@...shpatra.org, anup@...infault.org,
Will Deacon <will@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Palmer Dabbelt <palmer@...belt.com>,
linux-riscv@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Eric Lin <eric.lin@...ive.com>
Cc: greentime.hu@...ive.com, vincent.chen@...ive.com
Subject: Re: [PATCH] perf: RISC-V: Remove PERF_HES_STOPPED flag checking in
riscv_pmu_start()
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@...osinc.com>
Powered by blists - more mailing lists