diff options
author | Sergey Matyukevich <sergey.matyukevich@syntacore.com> | 2022-08-30 18:53:06 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-09-08 23:34:58 +0300 |
commit | 096b52fd2bb4996fd68d22b3b7ad21a1296db9d3 (patch) | |
tree | d0628c73848c5c1f5d279baab349358985f4a0cc /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1537bf26e212ffcf007d0590958025f6bfdd4ac8 (diff) | |
download | linux-096b52fd2bb4996fd68d22b3b7ad21a1296db9d3.tar.xz |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions