]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: oprofile: Support for XLR/XLS processors
authorMadhusudan Bhat <mbhat@netlogicmicro.com>
Wed, 31 Oct 2012 12:01:27 +0000 (12:01 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 9 Nov 2012 10:37:18 +0000 (11:37 +0100)
commit2cab280f24c3c9686e340e6ede38f159b6655bdd
tree31108a6fe38ac9f7ba0e101ee1f2c5f51068f955
parentae3dbb50ed297dde2c84d0e4d9717bf23bd9c403
MIPS: oprofile: Support for XLR/XLS processors

Add support for XLR and XLS processors in MIPS Oprofile code. These
processors are multi-threaded and have two counters per core. Each
counter can track either all the events in the core (global mode),
or events in just one thread.

We use the counters in the global mode, and use only the first thread
in each core to handle the configuration etc.

Signed-off-by: Madhusudan Bhat <mbhat@netlogicmicro.com>
Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Patchwork: http://patchwork.linux-mips.org/patch/4471
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/oprofile/Makefile
arch/mips/oprofile/common.c
arch/mips/oprofile/op_model_mipsxx.c