[llvm-dev] XRay feature – fdr log flushing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[llvm-dev] XRay feature – fdr log flushing

Tim Northover via llvm-dev

Hello,

 

Also, I’ve noticed that FDR mode doesn’t flush to a log unless programmatically configured to do so unlike basic mode, which flushes by default. Would it be possible to add this feature as well?

 

Thanks,

Henry

 



_______________________________________________
LLVM Developers mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Reply | Threaded
Open this post in threaded view
|

Re: [llvm-dev] XRay feature – fdr log flushing

Tim Northover via llvm-dev


> On 12 Jun 2018, at 07:50, Henry Zhu via llvm-dev <[hidden email]> wrote:
>
> Hello,
>
>  
> Also, I’ve noticed that FDR mode doesn’t flush to a log unless programmatically configured to do so unlike basic mode, which flushes by default. Would it be possible to add this feature as well?
>

FDR mode is specifically implemented so that the log is only flushed on-demand. Can you describe the use-case for “default flushing” a little bit more?

Adding an “exit handler” that will flush the currently installed XRay mode is tricky, but not impossible. It’s definitely something worth exploring more.

Cheers

-- Dean

_______________________________________________
LLVM Developers mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev