diff options
| author | Pingfan Liu <[email protected]> | 2020-10-22 14:51:19 +0800 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-01-31 22:35:49 +1100 |
| commit | b709e32ef570b8b91dfbcb63cffac4324c87799f (patch) | |
| tree | a32bbf60d21be8324d1c96b9e2083441dbb3122f /tools/perf/scripts/python | |
| parent | ed5b00a05c2ae95b59adc3442f45944ec632e794 (diff) | |
powerpc/time: Enable sched clock for irqtime
When CONFIG_IRQ_TIME_ACCOUNTING and CONFIG_VIRT_CPU_ACCOUNTING_GEN, powerpc
does not enable "sched_clock_irqtime" and can not utilize irq time
accounting.
Like x86, powerpc does not use the sched_clock_register() interface. So it
needs an dedicated call to enable_sched_clock_irqtime() to enable irq time
accounting.
Fixes: 518470fe962e ("powerpc: Add HAVE_IRQ_TIME_ACCOUNTING")
Signed-off-by: Pingfan Liu <[email protected]>
[mpe: Add fixes tag]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions