diff options
author | Dean Michael Berris <dberris@google.com> | 2016-08-26 06:39:33 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2016-08-26 06:39:33 +0000 |
commit | f50eb93da78bf180889c4c0151306e23a99c8d37 (patch) | |
tree | b1800a2ae2c4239ed1aeebf0aa280a11cf47c1ee /llvm/lib/Support/Unix/Unix.h | |
parent | f403df38eb6b4a1384e60c4ccc14c55084ddb282 (diff) | |
download | bcm5719-llvm-f50eb93da78bf180889c4c0151306e23a99c8d37.tar.gz bcm5719-llvm-f50eb93da78bf180889c4c0151306e23a99c8d37.zip |
[compiler-rt][XRay] Initial per-thread inmemory logging implementation
Depends on D21612 which implements the building blocks for the compiler-rt
implementation of the XRay runtime. We use a naive in-memory log of fixed-size
entries that get written out to a log file when the buffers are full, and when
the thread exits.
This implementation lays some foundations on to allowing for more complex XRay
records to be written to the log in subsequent changes. It also defines the format
that the function call accounting tool in D21987 will start building upon.
Once D21987 lands, we should be able to start defining more tests using that tool
once the function call accounting tool becomes part of the llvm distribution.
Reviewers: echristo, kcc, rnk, eugenis, majnemer, rSerge
Subscribers: sdardis, rSerge, dberris, tberghammer, danalbert, srhines, majnemer, llvm-commits, mehdi_amini
Differential Revision: https://reviews.llvm.org/D21982
llvm-svn: 279805
Diffstat (limited to 'llvm/lib/Support/Unix/Unix.h')
0 files changed, 0 insertions, 0 deletions