[PATCH] D53858: [XRay] Migrate FDR runtime to use refactored controller

Dean Michael Berris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 29 21:20:38 PDT 2018


dberris created this revision.
dberris added reviewers: mboerger, eizan.
Herald added a reviewer: jfb.
Herald added a subscriber: jfb.

This change completes the refactoring of the FDR runtime to support the
following:

- Generational buffer management.

- Centralised and well-tested controller implementation.

In this change we've had to:

- Greatly simplify the code in xray_fdr_logging.cc to only implement the glue code for calling into the controller.

- Implement the custom and typed event logging functions in the FDRLogWriter.

- Imbue the `XRAY_NEVER_INSTRUMENT` attribute onto all functions in the controller implementation.


https://reviews.llvm.org/D53858

Files:
  compiler-rt/lib/xray/xray_fdr_controller.h
  compiler-rt/lib/xray/xray_fdr_log_writer.h
  compiler-rt/lib/xray/xray_fdr_logging.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53858.171632.patch
Type: text/x-patch
Size: 42011 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181030/6db51294/attachment.bin>


More information about the llvm-commits mailing list