#include "src/trace_processor/importers/proto/args_parser.h"
#include "perfetto/ext/base/base64.h"
#include "src/trace_processor/importers/json/json_utils.h"
namespace perfetto::trace_processor {
BoundInserter;
ArgsParser::ArgsParser(int64_t packet_timestamp,
BoundInserter& inserter,
TraceStorage& storage,
PacketSequenceStateGeneration* sequence_state,
bool support_json)
: … { … }
ArgsParser::~ArgsParser() = default;
void ArgsParser::AddInteger(const Key& key, int64_t value) { … }
void ArgsParser::AddUnsignedInteger(const Key& key, uint64_t value) { … }
void ArgsParser::AddString(const Key& key, const protozero::ConstChars& value) { … }
void ArgsParser::AddString(const Key& key, const std::string& value) { … }
void ArgsParser::AddDouble(const Key& key, double value) { … }
void ArgsParser::AddPointer(const Key& key, const void* value) { … }
void ArgsParser::AddBoolean(const Key& key, bool value) { … }
void ArgsParser::AddBytes(const Key& key, const protozero::ConstBytes& value) { … }
bool ArgsParser::AddJson(const Key& key, const protozero::ConstChars& value) { … }
void ArgsParser::AddNull(const Key& key) { … }
size_t ArgsParser::GetArrayEntryIndex(const std::string& array_key) { … }
size_t ArgsParser::IncrementArrayEntryIndex(const std::string& array_key) { … }
int64_t ArgsParser::packet_timestamp() { … }
PacketSequenceStateGeneration* ArgsParser::seq_state() { … }
InternedMessageView* ArgsParser::GetInternedMessageView(uint32_t field_id,
uint64_t iid) { … }
}