Skip to content

Commit

Permalink
Xray docs with description of Flight Data Recorder binary format.
Browse files Browse the repository at this point in the history
Summary:
Adding a new restructuredText file to document the trace format produced with
an FDR mode handler and read by llvm-xray toolset.

Fixed two problems in the documentation from differential review. One bad table
and a missing link in the toc.

Original commit was e97c583.

Reviewers: dberris, pelikan

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D36041

llvm-svn: 309891
  • Loading branch information
WiseMaestro committed Aug 2, 2017
1 parent e6de494 commit 3d0bc9e
Show file tree
Hide file tree
Showing 4 changed files with 411 additions and 5 deletions.
3 changes: 3 additions & 0 deletions llvm/docs/XRay.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ on your application, you may set the ``xray_fdr_log`` option to ``true`` in the
``XRAY_OPTIONS`` environment variable (while also optionally setting the
``xray_naive_log`` to ``false``).

When the buffers are flushed to disk, the result is a binary trace format
described by `XRay FDR format <XRayFDRFormat.html>`_

When FDR mode is on, it will keep writing and recycling memory buffers until
the logging implementation is finalized -- at which point it can be flushed and
re-initialised later. To do this programmatically, we follow the workflow
Expand Down
Loading

0 comments on commit 3d0bc9e

Please sign in to comment.