Re: [Cbe-oss-dev] [Patch 1/3] User OProfile support for the IBMCELL processor SPU event profiling

From: Michael Ellerman
Date: Mon Dec 01 2008 - 20:02:31 EST


On Mon, 2008-12-01 at 16:18 -0800, Carl Love wrote:
> This patch adds the SPU event profiling support for the IBM Cell
> processor to the list of available events. The opcontrol script
> patches include a test to see if there is a new cell specific file
> in the kernel oprofile file system. If the file exists, then the
> kernel supports SPU event profiling.
>
> Signed-off-by: Carl Love <carll@xxxxxxxxxx>
>

> Index: oprofile-cvs/doc/oprofile.xml
> ===================================================================
> --- oprofile-cvs.orig/doc/oprofile.xml
> +++ oprofile-cvs/doc/oprofile.xml
> @@ -123,6 +123,10 @@ For information on how to use OProfile's
> of 2.6.22 or more recent. Additionally, full support of SPE profiling requires a BFD library
> from binutils code dated January 2007 or later. To ensure the proper BFD support exists, run
> the <code>configure</code> utility with <code>--with-target=cell-be</code>.
> +
> + Profiling the Cell Broadband Engine using SPU events requires a kernel version of 2.6.TBD or
^^^

Not sure if you missed that, or it's still TBD, but careful it doesn't
get merged like that.

cheers

--
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person

Attachment: signature.asc
Description: This is a digitally signed message part