Go to file
Keith Wyss 424279958d [XRay] Minimal tool to convert xray traces to Chrome's Trace Event Format.
Minimal tool to convert xray traces to Chrome's Trace Event Format.

Summary:
Make use of Chrome Trace Event format's Duration events and stack frame dict to
produce Json files that chrome://tracing can visualize from xray function call
traces. Trace Event format is more robust and has several features like
argument logging, function categorization, multi process traces, etc. that we
can add as needed. Duration events cover an important base case.

Part of this change is rearranging the code so that the TrieNode data structure
can be used from multiple tools and can carry parameterized baggage on the
nodes. I put the actual behavior changes in llvm-xray convert exclusively.

Exploring the trace of instrumented llc was pretty nifty if overwhelming.
I can envision this being very useful for analyzing contention scenarios or
tuning parameters like batch sizes in a producer consumer queue. For more
targeted traces likemthis, let's talk about how we want to approach trace
pruning.

Reviewers: dberris, pelikan

Subscribers: llvm-commits

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

llvm-svn: 317531
2017-11-07 00:28:28 +00:00
clang [analyzer] Model correct dispatch_once() 'done' value in BodyFarm 2017-11-06 22:12:19 +00:00
clang-tools-extra [clangd] Squash namespace warning 2017-11-06 15:50:35 +00:00
compiler-rt [LSan] Detect dynamic loader by its base address. 2017-11-06 21:27:06 +00:00
debuginfo-tests Revert r313600 due to bot failures on Green Dragon. 2017-09-19 14:51:37 +00:00
libclc tgamma: Use unary_decl instead of custom inc file 2017-11-02 19:49:00 +00:00
libcxx Change a bunch of comments from C++1z to C++17. NFC 2017-11-02 15:03:25 +00:00
libcxxabi Fix ASAN build with older compiler-rt versions. 2017-09-14 22:37:34 +00:00
libunwind Add ifdefs around ELF specific parts of UnwindRegisters*.S for arm 2017-11-04 21:01:31 +00:00
lld Remove dead code. 2017-11-07 00:26:04 +00:00
lldb Disable tests in lang/c/shared_lib on Windows 2017-11-07 00:14:40 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [XRay] Minimal tool to convert xray traces to Chrome's Trace Event Format. 2017-11-07 00:28:28 +00:00
openmp [OMPT] Fix null pointer in parallel/no_thread_num_clause.c 2017-11-06 22:06:14 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [ForwardOpTree] Limit isl operations of known content reload. 2017-11-06 17:48:14 +00:00
README.md Add an svn project to contain the files that appear at the root of the 2017-10-19 21:09:49 +00:00

README.md

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.