Home
last modified time | relevance | path

Searched refs:FieldFormat (Results 1 – 6 of 6) sorted by relevance

/developtools/profiler/device/plugins/ftrace_plugin/include/
Dftrace_common_type.h116 struct FieldFormat { struct
139 std::vector<FieldFormat> fields = {}; argument
140 std::vector<FieldFormat> commonFields = {};
145 FieldFormat timestamp = {};
146 FieldFormat commit = {};
147 FieldFormat overwrite = {};
Dftrace_field_parser.h26 …template <typename T> static T ParseIntField(const FieldFormat& format, uint8_t data[], size_t siz… in ParseIntField()
36 …template <typename T> static std::vector<T> ParseVectorIntField(const std::vector<FieldFormat>& fi… in ParseVectorIntField()
44 FieldFormat format = fields[id]; in ParseVectorIntField()
59 …static T ParseIntField(const std::vector<FieldFormat>& fields, size_t id, uint8_t data[], size_t s… in ParseIntField()
68 static std::string ParseStrField(const FieldFormat& format, uint8_t data[], size_t size);
70 …static std::string ParseStrField(const std::vector<FieldFormat>& fields, size_t id, uint8_t data[]… in ParseStrField()
Dftrace_parser.h52 bool ParseFieldType(const std::string& type, FieldFormat& field);
53 void PrintFieldInfo(const FieldFormat& info);
54 static void ParseProtoType(FieldFormat& field);
/developtools/profiler/device/plugins/ftrace_plugin/test/unittest/
Dftrace_field_parser_test.cpp23 using FTRACE_NS::FieldFormat;
33 std::vector<FieldFormat> formats_;
43 FieldFormat format = {}; in AppendInt()
59 FieldFormat format = {}; in AppendString()
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dftrace_parser.cpp228 void FtraceParser::PrintFieldInfo(const FieldFormat& info) in PrintFieldInfo()
284 FieldFormat fieldInfo; in ParseFieldFormat()
327 static bool ParseSepcialIntType(FieldFormat& field, const std::string& type, const std::string& typ… in ParseSepcialIntType()
367 static bool ParseCommonIntType(FieldFormat& field, bool sign) in ParseCommonIntType()
388 bool ParseKernelAddrField(FieldFormat& field, const std::string& type) in ParseKernelAddrField()
402 bool FtraceParser::ParseFieldType(const std::string& type, FieldFormat& field) in ParseFieldType()
448 void FtraceParser::ParseProtoType(FieldFormat& field) in ParseProtoType()
Dftrace_field_parser.cpp65 std::string FtraceFieldParser::ParseStrField(const FieldFormat& format, uint8_t data[], size_t size) in ParseStrField()