[PATCH] D28345: [XRay] Define the library for XRay trace logs

Dean Michael Berris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 4 22:37:08 PST 2017


dberris created this revision.
dberris added reviewers: dblaikie, echristo.
dberris added subscribers: varno, llvm-commits.
dberris added a dependency: D24376: [XRay] Implement `llvm-xray convert` -- trace file conversion.
Herald added subscribers: mgorny, mehdi_amini.

In this change we move the definition of the log reading routines from
the tools directory in LLVM to {include/llvm,lib}/XRay. We improve the
documentation a little bit for the publicly accessible headers, and
adjust the top-matter. This also leads to some refactoring and cleanup
in the tooling code.

In future changes we increase the API surface and write dedicated unit
tests for the XRay library.

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


https://reviews.llvm.org/D28345

Files:
  include/llvm/XRay/LogReader.h
  include/llvm/XRay/XRayRecord.h
  include/llvm/XRay/YAMLXRayRecord.h
  lib/CMakeLists.txt
  lib/XRay/CMakeLists.txt
  lib/XRay/LogReader.cpp
  tools/llvm-xray/CMakeLists.txt
  tools/llvm-xray/xray-converter.cc
  tools/llvm-xray/xray-converter.h
  tools/llvm-xray/xray-log-reader.cc
  tools/llvm-xray/xray-log-reader.h
  tools/llvm-xray/xray-record-yaml.h
  tools/llvm-xray/xray-record.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28345.83195.patch
Type: text/x-patch
Size: 12173 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170105/187fb2b3/attachment.bin>


More information about the llvm-commits mailing list