[Cbe-oss-dev] oprofile on the PS3

Arnd Bergmann arnd at arndb.de
Sat Jul 28 03:50:25 EST 2007


On Friday 27 July 2007, Josep M. Perez Cancer wrote:
> Is it possible to run oprofile on the PS3 with hardware performance
> counters?

no, the hypervisor does not expose them in a way that is usable by
the oprofile code we have.

> I'm getting these errors when compiling the kernel with cell support for
> oprofile:

I think the only fix we can do right now is to forbid selecting
oprofile if support for native cell servers is disabled.

	Arnd <><

--- linux-2.6.orig/arch/powerpc/oprofile/Kconfig
+++ linux-2.6/arch/powerpc/oprofile/Kconfig
@@ -18,6 +18,7 @@ config OPROFILE
 config OPROFILE_CELL
 	bool "OProfile for Cell Broadband Engine"
 	depends on (SPU_FS = y && OPROFILE = m) || (SPU_FS = y && OPROFILE = y) || (SPU_FS = m && OPROFILE = m)
+	depends on IBM_CELL_BLADE
 	default y
 	help
 	  Profiling of Cell BE SPUs requires special support enabled



More information about the cbe-oss-dev mailing list