1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/tools/llvm-xray
Martin Pelikan ee48a509e2 [XRay] cache symbolized function names for a repeatedly queried function ID
Summary:
Processing 2 GB XRay traces with "llvm-xray convert -symbolize" needs to
go over each trace record and symbolize the function name refered to by
its ID.  Currently this happens by asking the LLVM symbolizer code every
single time.  A simple cache can save around 30 minutes of processing of
that trace.

llvm-xray's resident memory usage increased negligibly with this cache.

Reviewers: dberris

Subscribers: llvm-commits

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

llvm-svn: 326407
2018-03-01 01:59:24 +00:00
..
CMakeLists.txt [XRay][tools] Function call stack based analysis tooling for XRay traces 2017-09-07 18:07:48 +00:00
func-id-helper.cc [XRay] cache symbolized function names for a repeatedly queried function ID 2018-03-01 01:59:24 +00:00
func-id-helper.h [XRay] cache symbolized function names for a repeatedly queried function ID 2018-03-01 01:59:24 +00:00
llvm-xray.cc Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
trie-node.h [XRay] Minimal tool to convert xray traces to Chrome's Trace Event Format. 2017-11-07 00:28:28 +00:00
xray-account.cc [XRay] fix 99th percentile lookups by sorting the array correctly 2018-01-30 18:18:51 +00:00
xray-account.h Fix windows buildbots building llvm-xray 2017-01-12 11:13:51 +00:00
xray-color-helper.cc Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
xray-color-helper.h [XRay] A tool for Comparing xray function call graphs 2017-04-24 05:54:33 +00:00
xray-converter.cc [XRay] Minimal tool to convert xray traces to Chrome's Trace Event Format. 2017-11-07 00:28:28 +00:00
xray-converter.h [XRay] Minimal tool to convert xray traces to Chrome's Trace Event Format. 2017-11-07 00:28:28 +00:00
xray-extract.cc Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
xray-graph-diff.cc [XRay][tools] Remove wayward semicolon (NFC) 2017-04-26 03:49:49 +00:00
xray-graph-diff.h [XRay][tools] Fixup for pedantic and permissive errors/warnings 2017-04-24 06:15:53 +00:00
xray-graph.cc Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
xray-graph.h [XRay][tools] Fixup definition for stat division. 2017-04-26 01:35:23 +00:00
xray-registry.cc
xray-registry.h
xray-stacks.cc [XRay] Minimal tool to convert xray traces to Chrome's Trace Event Format. 2017-11-07 00:28:28 +00:00