summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle/cpuidle-riscv-sbi.c
diff options
context:
space:
mode:
authorSergey Matyukevich <sergey.matyukevich@syntacore.com>2022-08-30 18:53:06 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2022-09-08 13:34:58 -0700
commit096b52fd2bb4996fd68d22b3b7ad21a1296db9d3 (patch)
treed0628c73848c5c1f5d279baab349358985f4a0cc /drivers/cpuidle/cpuidle-riscv-sbi.c
parent1537bf26e212ffcf007d0590958025f6bfdd4ac8 (diff)
downloadlinux-stable-096b52fd2bb4996fd68d22b3b7ad21a1296db9d3.tar.gz
linux-stable-096b52fd2bb4996fd68d22b3b7ad21a1296db9d3.tar.bz2
linux-stable-096b52fd2bb4996fd68d22b3b7ad21a1296db9d3.zip
perf: RISC-V: throttle perf events
Call perf_sample_event_took() to report time spent in overflow interrupts. Perf core uses these measurements to throttle perf events properly. Signed-off-by: Sergey Matyukevich <sergey.matyukevich@syntacore.com> Reviewed-by: Atish Patra <atishp@rivosinc.com> Link: https://lore.kernel.org/r/20220830155306.301714-4-geomatsi@gmail.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'drivers/cpuidle/cpuidle-riscv-sbi.c')
0 files changed, 0 insertions, 0 deletions