Home
last modified time | relevance | path

Searched hist:"0 c9108b0" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/perf/
H A Dcore-book3s.c0c9108b0 Tue Nov 20 21:56:37 CST 2018 Ravi Bangoria <ravi.bangoria@linux.ibm.com> Powerpc/perf: Wire up PMI throttling

Commit 14c63f17b1fde ("perf: Drop sample rate when sampling is too
slow") introduced a way to throttle PMU interrupts if we're spending
too much time just processing those. Wire up powerpc PMI handler to
use this infrastructure.

We have throttling of the *rate* of interrupts, but this adds
throttling based on the *time taken* to process the interrupts.

Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
0c9108b0 Tue Nov 20 21:56:37 CST 2018 Ravi Bangoria <ravi.bangoria@linux.ibm.com> Powerpc/perf: Wire up PMI throttling

Commit 14c63f17b1fde ("perf: Drop sample rate when sampling is too
slow") introduced a way to throttle PMU interrupts if we're spending
too much time just processing those. Wire up powerpc PMI handler to
use this infrastructure.

We have throttling of the *rate* of interrupts, but this adds
throttling based on the *time taken* to process the interrupts.

Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>