aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/scripting-engines/trace-event-python.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 /tools/perf/util/scripting-engines/trace-event-python.c
parentperf: RISC-V: exclude invalid pmu counters from SBI calls (diff)
downloadwireguard-linux-096b52fd2bb4996fd68d22b3b7ad21a1296db9d3.tar.xz
wireguard-linux-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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions