[PATCH] D38551: [XRay][compiler-rt] Write out arg1 payload in naive mode logging

Dean Michael Berris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 4 10:08:49 PDT 2017


dberris created this revision.

This change allows the XRay basic (naive) mode logging implementation to
start writing the payload entries through the arg1 logging handler. This
implementation writes out the records that the llvm-xray tool and the
trace reader library will start processing in https://reviews.llvm.org/D38550.

This introduces a new payload record type which logs the data through
the in-memory buffer. It uses the same size/alignment that the normal
XRay record entries use. We use a new record type to indicate these new
entries, so that the trace reader library in LLVM can start reading
these entries.

Depends on https://reviews.llvm.org/D38550.


https://reviews.llvm.org/D38551

Files:
  include/xray/xray_records.h
  lib/xray/xray_inmemory_log.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38551.117692.patch
Type: text/x-patch
Size: 8390 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171004/36ba22ee/attachment.bin>


More information about the llvm-commits mailing list