OSDN Git Service

[XRay][tools] Support tail-call exits before we write them in the runtime
authorDean Michael Berris <dberris@google.com>
Mon, 18 Sep 2017 06:08:46 +0000 (06:08 +0000)
committerDean Michael Berris <dberris@google.com>
Mon, 18 Sep 2017 06:08:46 +0000 (06:08 +0000)
commitd6aeff8fd74c6ba964298a580ab27ea3dad8a288
treec1d342400a28539ac756434cefc06cfa845752ce
parentb0dac0f6f107b29e49a78d6aa358d1d8d76852bc
[XRay][tools] Support tail-call exits before we write them in the runtime

Summary:
This change adds support for explicit tail-exit records to be written by
the XRay runtime. This lets us differentiate the tail exit
records/events in the log, and allows us to treat those exit events
especially in the future. For now we allow printing those out in YAML
(and reading them in).

Reviewers: kpw, pelikan

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313514 91177308-0d34-0410-b5e6-96231b3b80d8
docs/XRayFDRFormat.rst
include/llvm/XRay/XRayRecord.h
include/llvm/XRay/YAMLXRayRecord.h
lib/XRay/Trace.cpp
test/tools/llvm-xray/X86/convert-fdr-to-yaml.txt
tools/llvm-xray/xray-account.cc
tools/llvm-xray/xray-converter.cc
tools/llvm-xray/xray-graph.cc
tools/llvm-xray/xray-stacks.cc