[llvm-dev] XRay feature – fdr log flushing
Henry Zhu via llvm-dev
llvm-dev at lists.llvm.org
Mon Jun 25 07:00:36 PDT 2018
I might have been unclear with the term default flushing. Basic mode
produces a log without being programmatically configured to do so. (Writing
to a log can be enabled by configuring the environment variable).
On Mon, Jun 11, 2018 at 8:27 PM, Dean Michael Berris <dean.berris at gmail.com>
> > On 12 Jun 2018, at 07:50, Henry Zhu via llvm-dev <
> llvm-dev at lists.llvm.org> 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
> -- Dean
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev