]> granicus.if.org Git - llvm/commit
[XRay][tools] Updated stacks tool with flamegraph output.
authorKeith Wyss <wyssman@gmail.com>
Thu, 12 Oct 2017 22:47:42 +0000 (22:47 +0000)
committerKeith Wyss <wyssman@gmail.com>
Thu, 12 Oct 2017 22:47:42 +0000 (22:47 +0000)
commit959cfda875309a28c9de0686b610d879cb3913ec
treeaa0d96382e7e4d54c49d8e65f266d86c6038ac6a
parentf157979d5feed5dfbc8ca45b8b4ecd5f3c4503b4
[XRay][tools] Updated stacks tool with flamegraph output.

Summary:
As the first step to allow analysis and visualization of xray collected data,
allow using the llvm-xray stacks tool to emit a complete listing of stacks in
the format consumable by a flamegraph tool.

Possible follow up formats include chrome trace viewer format and sql load
files.

As a POC, I'm able to generate flamegraphs of an xray instrumented llc compiling
hello world.

Reviewers: dberris, pelikan

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315635 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-xray/xray-stacks.cc