[PATCH] D26232: [XRay][compiler-rt] XRay Buffer Queue
Dean Michael Berris via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 2 00:01:26 PDT 2016
dberris created this revision.
dberris added reviewers: majnemer, rSerge, echristo.
dberris added a subscriber: llvm-commits.
Herald added subscribers: mgorny, mehdi_amini.
This implements a simple buffer queue to manage a pre-allocated queue of
fixed-sized buffers to hold XRay records. We need this to support
Flight Data Recorder (FDR) mode. We also implement this as a sub-library
first to allow for development before actually using it in an
implementation.
Some important properties of the buffer queue:
- Thread-safe enqueueing/dequeueing of fixed-size buffers.
- Pre-allocation of buffers at construction.
https://reviews.llvm.org/D26232
Files:
lib/xray/CMakeLists.txt
lib/xray/tests/CMakeLists.txt
lib/xray/tests/unit/CMakeLists.txt
lib/xray/tests/unit/buffer_queue_test.cc
lib/xray/tests/unit/xray_unit_test_main.cc
lib/xray/xray_buffer_queue.cc
lib/xray/xray_buffer_queue.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26232.76674.patch
Type: text/x-patch
Size: 11858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161102/8e1e4449/attachment.bin>
More information about the llvm-commits
mailing list