summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2018-05-31 04:33:52 +0000
committerDean Michael Berris <dberris@google.com>2018-05-31 04:33:52 +0000
commit1eb8c206cd865fdf5d8e2090841f9cfe81eab90b (patch)
tree5c22516016749347833513c7489a40303b1835af /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parentf5016b79a6aea6bde8ba1d99f5cc1627f03f2d54 (diff)
downloadbcm5719-llvm-1eb8c206cd865fdf5d8e2090841f9cfe81eab90b.tar.gz
bcm5719-llvm-1eb8c206cd865fdf5d8e2090841f9cfe81eab90b.zip
[XRay][profiler] Part 3: Profile Collector Service
Summary: This is part of the larger XRay Profiling Mode effort. This patch implements a centralised collector for `FunctionCallTrie` instances, associated per thread. It maintains a global set of trie instances which can be retrieved through the XRay API for processing in-memory buffers (when registered). Future changes will include the wiring to implement the actual profiling mode implementation. This central service provides the following functionality: * Posting a `FunctionCallTrie` associated with a thread, to the central list of tries. * Serializing all the posted `FunctionCallTrie` instances into in-memory buffers. * Resetting the global state of the serialized buffers and tries. Depends on D45757. Reviewers: echristo, pelikan, kpw Reviewed By: kpw Subscribers: llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D45758 llvm-svn: 333624
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud