Prasad Boddupalli wrote:
Perfctr (http://user.it.uu.se/~mikpe/linux/perfctr/) and PAPI (http://icl.cs.utk.edu/papi/) are precisely such attempts. Except that MIPS ports of them do not seem to be available.
There's also perfmon2, for which a MIPS patch is available - though no idea how up-to-date it is. See http://www.linux-mips.org/wiki/Perfmon2
Nigel