]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: add support for software performance events
authorDeng-Cheng Zhu <dengcheng.zhu@gmail.com>
Tue, 12 Oct 2010 11:37:21 +0000 (19:37 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 29 Oct 2010 18:08:48 +0000 (19:08 +0100)
commit4f67fac87594e96a84649d4f70a71942a17fcf6c
tree32c2b6af15da818a02502a678225ff4de754b542
parent977114fad0416045ef520b0ef0ba7cd5c9ff4a5a
MIPS: add support for software performance events

Software events are required as part of the measurable stuff by the
Linux performance counter subsystem. Here is the list of events added by
this patch:
PERF_COUNT_SW_PAGE_FAULTS
PERF_COUNT_SW_PAGE_FAULTS_MIN
PERF_COUNT_SW_PAGE_FAULTS_MAJ
PERF_COUNT_SW_ALIGNMENT_FAULTS
PERF_COUNT_SW_EMULATION_FAULTS

Signed-off-by: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
To: linux-mips@linux-mips.org
Cc: a.p.zijlstra@chello.nl
Cc: paulus@samba.org
Cc: mingo@elte.hu
Cc: acme@redhat.com
Cc: jamie.iles@picochip.com
Acked-by: David Daney <ddaney@caviumnetworks.com>
Reviewed-by: Matt Fleming <matt@console-pimps.org>
Patchwork: https://patchwork.linux-mips.org/patch/1686/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/kernel/traps.c
arch/mips/kernel/unaligned.c
arch/mips/math-emu/cp1emu.c
arch/mips/mm/fault.c