[PATCH] D51673: [XRay] Add a BlockIndexer visitor for FDR Records.

Dean Michael Berris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 5 01:08:52 PDT 2018


dberris created this revision.
dberris added reviewers: eizan, kpw.
Herald added subscribers: hiraditya, mgorny.

This change adds a `BlockIndexer` type which maintains pointers to
records that belong to the same process+thread pairs. The indexing
happens with order of appearance of records as they are visited.

This version of the indexer currently only supports FDR version 3 logs,
which contain `BufferExtent` records. We will add support for v2 and v1
logs in follow-up patches.

This is another part of https://reviews.llvm.org/D50441.


https://reviews.llvm.org/D51673

Files:
  llvm/include/llvm/XRay/BlockIndexer.h
  llvm/lib/XRay/BlockIndexer.cpp
  llvm/lib/XRay/CMakeLists.txt
  llvm/unittests/XRay/CMakeLists.txt
  llvm/unittests/XRay/FDRBlockIndexerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51673.163977.patch
Type: text/x-patch
Size: 9491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180905/81366c67/attachment.bin>


More information about the llvm-commits mailing list