teak-llvm/llvm/lib/XRay
Dean Michael Berris 6b67ff0300 [XRay] Add CPU ID in Custom Event FDR Records
Summary:
This change cuts across compiler-rt and llvm, to increment the FDR log
version number to 4, and include the CPU ID in the custom event records.

This is a step towards allowing us to change the `llvm::xray::Trace`
object to start representing both custom and typed events in the stream
of records. Follow-on changes will allow us to change the kinds of
records we're presenting in the stream of traces, to incorporate the
data in custom/typed events.

A follow-on change will handle the typed event case, where it may not
fit within the 15-byte buffer for metadata records.

This work is part of the larger effort to enable writing analysis and
processing tools using a common in-memory representation of the events
found in traces. The work will focus on porting existing tools in LLVM
to use the common representation and informing the design of a
library/framework for expressing trace event analysis as C++ programs.

Reviewers: mboerger, eizan

Subscribers: hiraditya, mgrang, llvm-commits

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

llvm-svn: 345798
2018-11-01 00:18:52 +00:00
..
BlockIndexer.cpp [XRay] Bug fixes for FDR custom event and arg-logging 2018-09-13 09:25:42 +00:00
BlockPrinter.cpp [XRay] Add the llvm-xray fdr-dump implementation 2018-09-11 00:22:53 +00:00
BlockVerifier.cpp [XRay] Remove unused reference 2018-09-10 02:57:05 +00:00
CMakeLists.txt [XRay] Use FDR Records+Visitors for Trace Loading 2018-09-11 06:45:59 +00:00
FDRRecordProducer.cpp [XRay] Remove array for Metadata Record Types 2018-08-31 11:41:08 +00:00
FDRRecords.cpp [XRay] FDRTraceWriter and FDR Trace Loading 2018-08-30 07:22:21 +00:00
FDRTraceExpander.cpp [XRay] Use FDR Records+Visitors for Trace Loading 2018-09-11 06:45:59 +00:00
FDRTraceWriter.cpp [XRay] Add CPU ID in Custom Event FDR Records 2018-11-01 00:18:52 +00:00
FileHeaderReader.cpp [XRay] Add CPU ID in Custom Event FDR Records 2018-11-01 00:18:52 +00:00
InstrumentationMap.cpp [Xray] tooling allow MachO format support 2018-09-10 05:00:43 +00:00
LLVMBuild.txt [XRay] Clean up XRay build configuration 2018-09-24 05:28:01 +00:00
LogBuilderConsumer.cpp [XRay] FDR Record Producer/Consumer Implementation 2018-08-31 08:04:56 +00:00
Profile.cpp [XRay][llvm] Load XRay Profiles 2018-08-30 01:43:22 +00:00
RecordInitializer.cpp [XRay] Add CPU ID in Custom Event FDR Records 2018-11-01 00:18:52 +00:00
RecordPrinter.cpp [XRay] Add CPU ID in Custom Event FDR Records 2018-11-01 00:18:52 +00:00
Trace.cpp [XRay] Add CPU ID in Custom Event FDR Records 2018-11-01 00:18:52 +00:00