#include "src/trace_processor/importers/fuchsia/fuchsia_trace_utils.h"
namespace perfetto {
namespace trace_processor {
namespace fuchsia_trace_utils {
namespace {
constexpr uint32_t kInlineStringMarker = …;
constexpr uint32_t kInlineStringLengthMask = …;
}
bool IsInlineString(uint32_t string_ref) { … }
bool IsInlineThread(uint32_t thread_ref) { … }
int64_t TicksToNs(uint64_t ticks, uint64_t ticks_per_second) { … }
Variadic ArgValue::ToStorageVariadic(TraceStorage* storage) const { … }
size_t RecordCursor::WordIndex() { … }
void RecordCursor::SetWordIndex(size_t index) { … }
bool RecordCursor::ReadTimestamp(uint64_t ticks_per_second, int64_t* ts_out) { … }
bool RecordCursor::ReadInlineString(uint32_t string_ref_or_len,
base::StringView* string_out) { … }
bool RecordCursor::ReadInlineThread(FuchsiaThreadInfo* thread_out) { … }
bool RecordCursor::ReadInt64(int64_t* out) { … }
bool RecordCursor::ReadUint64(uint64_t* out) { … }
bool RecordCursor::ReadDouble(double* out) { … }
bool RecordCursor::ReadBlob(size_t num_bytes,
std::vector<uint8_t>& append_buffer) { … }
bool RecordCursor::ReadWords(size_t num_words, const uint8_t** data_out) { … }
}
}
}