[llvm-dev] XRay FDR mode doesn’t log main thread calls
Henry Zhu via llvm-dev
llvm-dev at lists.llvm.org
Mon Jun 25 08:01:51 PDT 2018
I've updated xray and the problem has been fixed.
On Mon, Jun 11, 2018 at 8:22 PM, Dean Michael Berris <dean.berris at gmail.com>
wrote:
>
>
> > On 9 Jun 2018, at 06:23, Henry Zhu via llvm-dev <llvm-dev at lists.llvm.org>
> wrote:
> >
> > Hello,
> >
> >
> >
> > I am initializing FDR mode and finalizing/flushing the buffers manually.
> XRay does not log calls from the main thread unless there is a function
> call after __xray_log_finalize(). This behavior is abnormal since one would
> expect the trace file to contain all function calls made up to the point
> when __xray_log_finalize() is called. To demonstrate this behavior, I have
> taken the test case from TestCases/Posix and modified it.
> >
>
> Yes, this is definitely a bug, but one that I thought we’ve already fixed.
> Can you say whether the latest in HEAD is still exhibiting the same problem?
>
> If not, this one should be easy to reproduce and fix (with a test,
> upstream in particular).
>
> If you can file a bug (as well) through https://llvm.org/bugs then Keith
> and I can probably track this better/easier.
>
> >
> >
> >
> > Is this expected behavior?
> >
>
> Definitely not expected behaviour. If you can reproduce with the latest in
> HEAD, then there’s definitely something for us to address (quite easily).
>
> Cheers
>
> -- Dean
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180625/ccc4beff/attachment.html>
More information about the llvm-dev
mailing list