reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/xray/xray_fdr_controller.h
   82     MetadataRecord Metadata[] = {
   89         createMetadataRecord<MetadataRecord::RecordKinds::NewBuffer>(
   95         createMetadataRecord<MetadataRecord::RecordKinds::WalltimeMarker>(
  100         createMetadataRecord<MetadataRecord::RecordKinds::Pid>(
  157       W.writeMetadata<MetadataRecord::RecordKinds::NewCPUId>(CPU, TSC);
  174       W.writeMetadata<MetadataRecord::RecordKinds::TSCWrap>(TSC);
  247         !prepareBuffer(sizeof(MetadataRecord) + sizeof(FunctionRecord)))
  273     if (!prepareBuffer(sizeof(MetadataRecord) + sizeof(FunctionRecord)))
  296         !prepareBuffer((2 * sizeof(MetadataRecord)) + sizeof(FunctionRecord)) ||
  313         !prepareBuffer(sizeof(MetadataRecord) + sizeof(FunctionRecord)))
  336         !prepareBuffer((2 * sizeof(MetadataRecord)) + EventSize) ||
  350         !prepareBuffer((2 * sizeof(MetadataRecord)) + EventSize) ||
projects/compiler-rt/lib/xray/xray_fdr_log_records.h
   46 static_assert(sizeof(MetadataRecord) == 16, "Wrong size for MetadataRecord.");
projects/compiler-rt/lib/xray/xray_fdr_log_writer.h
   65 MetadataRecord createMetadataRecord(DataTypes &&... Ds) {
   67                     sizeof(MetadataRecord) - 1,
   69   MetadataRecord R;
   81   template <class T> void writeRecord(const T &R) {
   82     internal_memcpy(NextRecord, reinterpret_cast<const char *>(&R), sizeof(T));
   83     NextRecord += sizeof(T);
   88     atomic_fetch_add(Buffer.Extents, sizeof(T), memory_order_acq_rel);
  110   template <size_t N> size_t writeMetadataRecords(MetadataRecord (&Recs)[N]) {
  111     constexpr auto Size = sizeof(MetadataRecord) * N;
  150     MetadataRecord A =
  151         createMetadataRecord<MetadataRecord::RecordKinds::CallArgument>(Arg);
  173     MetadataRecord R =
  174         createMetadataRecord<MetadataRecord::RecordKinds::CustomEventMarker>(
  196     MetadataRecord R =
  197         createMetadataRecord<MetadataRecord::RecordKinds::TypedEventMarker>(
projects/compiler-rt/lib/xray/xray_fdr_logging.cpp
  254   SerializedBufferSize = BufferSize + sizeof(MetadataRecord);
  260   MetadataRecord ExtentsRecord;
  263       uint8_t(MetadataRecord::RecordKinds::BufferExtents);
  267                                           sizeof(MetadataRecord))) +
  268       sizeof(MetadataRecord);
  366     MetadataRecord ExtentsRecord;
  371         uint8_t(MetadataRecord::RecordKinds::BufferExtents);
  376                        sizeof(MetadataRecord));