1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/include/llvm/XRay
Dean Michael Berris 37533d7125 [XRay] Bug fixes for FDR custom event and arg-logging
Summary:
This change has a number of fixes for FDR mode in compiler-rt along with
changes to the tooling handling the traces in llvm.

In the runtime, we do the following:

- Advance the "last record" pointer appropriately when writing the
  custom event data in the log.

- Add XRAY_NEVER_INSTRUMENT in the rewinding routine.

- When collecting the argument of functions appropriately marked, we
  should not attempt to rewind them (and reset the counts of functions
  that can be re-wound).

In the tooling, we do the following:

- Remove the state logic in BlockIndexer and instead rely on the
  presence/absence of records to indicate blocks.

- Move the verifier into a loop associated with each block.

Reviewers: mboerger, eizan

Subscribers: llvm-commits, hiraditya

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

llvm-svn: 342122
2018-09-13 09:25:42 +00:00
..
BlockIndexer.h [XRay] Bug fixes for FDR custom event and arg-logging 2018-09-13 09:25:42 +00:00
BlockPrinter.h [XRay] Add the llvm-xray fdr-dump implementation 2018-09-11 00:22:53 +00:00
BlockVerifier.h [XRay] Add a BlockVerifier visitor for FDR Records 2018-09-10 02:35:25 +00:00
FDRLogBuilder.h [XRay] FDRTraceWriter and FDR Trace Loading 2018-08-30 07:22:21 +00:00
FDRRecordConsumer.h [XRay] FDR Record Producer/Consumer Implementation 2018-08-31 08:04:56 +00:00
FDRRecordProducer.h [XRay] FDR Record Producer/Consumer Implementation 2018-08-31 08:04:56 +00:00
FDRRecords.h [XRay] Add TSC to NewCPUId Records 2018-09-11 06:36:51 +00:00
FDRTraceExpander.h [XRay] Ensure lambda outlives llvm::function_ref 2018-09-11 08:03:30 +00:00
FDRTraceWriter.h [XRay] Make the FDRTraceWriter Endian-aware 2018-08-31 16:08:38 +00:00
FileHeaderReader.h [XRay] Refactor file header reading (NFC) 2018-08-22 07:37:55 +00:00
Graph.h [XRay] A graph Class for the llvm-xray graph 2017-02-10 06:36:08 +00:00
InstrumentationMap.h [XRay][tools] Support new kinds of instrumentation map entries 2017-08-21 00:14:06 +00:00
Profile.h [XRay][llvm] Load XRay Profiles 2018-08-30 01:43:22 +00:00
RecordPrinter.h [XRay] Add a RecordPrinter visitor for FDR Records 2018-09-05 06:57:23 +00:00
Trace.h [XRay] Refactor loadTraceFile(...) into two (NFC) 2018-08-24 10:30:37 +00:00
XRayRecord.h [XRay][compiler-rt] Add PID field to llvm-xray tool and add PID metadata record entry in FDR mode 2018-07-13 05:38:22 +00:00
YAMLXRayRecord.h [XRay][compiler-rt] Add PID field to llvm-xray tool and add PID metadata record entry in FDR mode 2018-07-13 05:38:22 +00:00