[PATCH] D24376: [XRay] Implement `llvm-xray convert` -- trace file conversion

Dean Michael Berris via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 8 22:59:36 PDT 2016


dberris created this revision.
dberris added reviewers: dblaikie, echristo.
dberris added a subscriber: llvm-commits.
dberris added a dependency: D21987: [XRay] Implement `llvm-xray extract`, start of the llvm-xray tool.
Herald added subscribers: beanz, dberris, mehdi_amini.

This is the second part of a multi-part change to define additional
subcommands to the `llvm-xray` tool.

This change defines a conversion subcommand to take XRay log files, and
turns them from one format to another (binary or YAML). This currently
only supports the first version of the log file format, defined in the
compiler-rt runtime.

Depends on D21987.

https://reviews.llvm.org/D24376

Files:
  test/tools/llvm-xray/X86/convert-roundtrip.yaml
  tools/llvm-xray/CMakeLists.txt
  tools/llvm-xray/func-id-helper.cc
  tools/llvm-xray/func-id-helper.h
  tools/llvm-xray/llvm-xray.cc
  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: D24376.70787.patch
Type: text/x-patch
Size: 28761 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160909/b5f075ca/attachment.bin>


More information about the llvm-commits mailing list