Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Unverified Commit 096b52fd authored by Sergey Matyukevich's avatar Sergey Matyukevich Committed by Palmer Dabbelt
Browse files

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: default avatarSergey Matyukevich <sergey.matyukevich@syntacore.com>
Reviewed-by: default avatarAtish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20220830155306.301714-4-geomatsi@gmail.com


Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 1537bf26
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment