OSDN Git Service

[XRAY] [x86_64] Adding a Flight Data filetype reader to the llvm-xray Trace implement...
authorDean Michael Berris <dberris@google.com>
Fri, 17 Feb 2017 01:47:16 +0000 (01:47 +0000)
committerDean Michael Berris <dberris@google.com>
Fri, 17 Feb 2017 01:47:16 +0000 (01:47 +0000)
commit73d4ebd6202e0b477b4699617c6a6aaa71c490bc
tree0ba6994b835d6eeebcb5e05651ec0c925f205a54
parent58318dec58edc46bb54e494dc2e5412c90a1d5bf
[XRAY] [x86_64] Adding a Flight Data filetype reader to the llvm-xray Trace implementation.

Summary:
The file type packs function trace data onto disk from potentially multiple
threads that are aggregated and flushed during the course of an instrumented
program's runtime.

It is named FDR mode or Flight Data recorder as an analogy to plane
blackboxes, which instrument a running system without access to IO.

The writer code is defined in compiler-rt in xray_fdr_logging.h/cc

Reviewers: rSerge, kcc, dberris

Reviewed By: dberris

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295397 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/XRay/XRayRecord.h
include/llvm/XRay/YAMLXRayRecord.h
lib/XRay/Trace.cpp
test/tools/llvm-xray/X86/Inputs/fdr-log-version-1.xray [new file with mode: 0644]
test/tools/llvm-xray/X86/convert-fdr-to-yaml.txt [new file with mode: 0644]
tools/llvm-xray/xray-converter.cc