]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: Use NMI oprofile profiling on cheetah and derivative cpus.
authorDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 06:29:24 +0000 (22:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Dec 2008 17:17:05 +0000 (09:17 -0800)
commit7b57bb9600e3d0b806d1233e53a3b4004232e911
treecd65ad354083699b60ebcec2b27e147a0081a123
parent3a00c34f1a2dc919deb7e42ffa8a6d07634bbe5b
sparc64: Use NMI oprofile profiling on cheetah and derivative cpus.

We use clock cycle counter, adjusted to HZ.

This can be extended to sun4v based processors as well, as they
also have a proper overflow interrupt facility for the performance
counters.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/oprofile/init.c