summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeng-Cheng Zhu <dengcheng.zhu@imgtec.com>2015-03-07 19:30:35 +0100
committerRalf Baechle <ralf@linux-mips.org>2015-04-01 17:21:34 +0200
commitec9ddad3c6a5789373e4f67009a0dea276febc47 (patch)
treee26f808aa733b26fb5b85eab61895e3f77d71a73
parentMIPS: csrc-sb1250: Implement read_sched_clock (diff)
downloadlinux-ec9ddad3c6a5789373e4f67009a0dea276febc47.tar.xz
linux-ec9ddad3c6a5789373e4f67009a0dea276febc47.zip
MIPS: Add support for fine granularity task level IRQ time accounting
With sched_clock being ready, it makes sense to add the option of IRQ time accounting -- When we have a fast enough sched_clock, IRQ time accounting will be enabled (see sched_clock_register). Signed-off-by: Deng-Cheng Zhu <dengcheng.zhu@imgtec.com> Cc: linux-mips@linux-mips.org Cc: macro@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9489/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index f2a3f97f8805..faa6fb7b7805 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -57,6 +57,7 @@ config MIPS
select ARCH_BINFMT_ELF_STATE
select SYSCTL_EXCEPTION_TRACE
select HAVE_VIRT_CPU_ACCOUNTING_GEN
+ select HAVE_IRQ_TIME_ACCOUNTING
menu "Machine selection"