Skip to content
Commit c783390a authored by Madhusudan Bhat's avatar Madhusudan Bhat Committed by John Crispin
Browse files

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: default avatarMadhusudan Bhat <mbhat@netlogicmicro.com>
Signed-off-by: default avatarJayachandran C <jchandra@broadcom.com>
Patchwork: http://patchwork.linux-mips.org/patch/4471


Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
parent e7e333cb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment