Re: [Cbe-oss-dev] [RFC, PATCH 4/4] Add support to OProfile for profiling Cell BE SPUs -- update

From: Arnd Bergmann
Date: Sat Feb 03 2007 - 21:43:16 EST


On Saturday 03 February 2007 21:03, Maynard Johnson wrote:
> I presume you mean 'object_id'.

Right, sorry for the confusion.

> What you're asking for is a new
> requirement, and one which I don't believe is achievable in the current
> timeframe.  Since this is spufs code that's dynamicaly loaded into the
> SPU at runtime, the symbol information for this code is not accessible
> to the userspace post-processing tools.

We can always fix the user space tool later, but it is important to
get at least the kernel interface right, so we can add the functionality
later without breaking new user space on old kernels or vice versa.

> It would require an altogether
> different mechanism to record samples along with necessary information,
> not to mention the changes required in the post-processing tools.  This
> will have to be a future enhancement.

So what do you do with the samples for object_id == 0? I would expect them
to be simply added to the sample buffer for the kernel, which is sort
of special in oprofile anyway.

Arnd <><
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/