On Thu, Sep 20, 2012 at 08:26:06PM -0400, Ehsan Akhgari wrote:
> On 12-09-20 1:54 AM, Mike Hommey wrote:
> >>The sample labels will not provide instrumenting profiling.  What
> >>happens is that the sample labels build up a stack, and every time
> >>that we pause the target thread when taking a sample, we walk that
> >>pseudo stack and record it.  This is what we use on platforms that
> >>we cannot currently unwind the C++ stack, including mobile/b2g and
> >>aurora/beta/release (where we don't build with frame pointers), and
> >>should be mostly thought of as a replacement or addition to the
> >>native stack.
> >
> >We could, however, instrument there.
> 
> Do you have an idea on how that would work well with sampling?

We could use markers or something similar, and attach data to them.

Mike
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to