Searched refs:parser_ (Results 1 – 4 of 4) sorted by relevance
/developtools/smartperf_host/trace_streamer/test/unittest/ebpf/ |
D | ebpf_file_system_test.cpp | 55 …parser_ = std::make_unique<EbpfDataParser>(stream_.traceDataCache_.get(), stream_.streamFilters_.g… in SetUp() 110 std::unique_ptr<EbpfDataParser> parser_ = nullptr; member in SysTuning::TraceStreamer::EbpfFileSystemTest 127 EXPECT_TRUE(parser_->Init(dequeBuffer_, dequeBuffer_.size())); 128 EXPECT_TRUE(parser_->reader_->GetFileSystemEventMap().size()); 129 parser_->ParseFileSystemEvent(); 130 parser_->Finish(); 131 EXPECT_TRUE(parser_->reader_->ebpfDataHeader_->header.clock == EBPF_CLOCK_BOOTTIME); 138 EXPECT_EQ(parser_->ConvertToHexTextIndex(RET_01), fileSystemSample.ReturnValues()[0]); 145 EXPECT_EQ(parser_->ConvertToHexTextIndex(ARGS_01[i++]), fileSystemSample.FirstArguments()[0]); 146 EXPECT_EQ(parser_->ConvertToHexTextIndex(ARGS_01[i++]), fileSystemSample.SecondArguments()[0]); [all …]
|
/developtools/smartperf_host/trace_streamer/test/unittest/rawtrace/ |
D | rawtrace_parser_test.cpp | 48 …parser_ = std::make_unique<RawTraceParser>(selector_.traceDataCache_.get(), selector_.streamFilter… in SetUp() 71 std::unique_ptr<RawTraceParser> parser_; member in SysTuning::TraceStreamer::RawTraceParserTest 106 EXPECT_TRUE(dataFs_.is_open() && parser_ != nullptr); 110 auto &packagesBuffer = parser_->packagesBuffer_; 112 EXPECT_FALSE(parser_->InitRawTraceFileHeader(packagesCurIter)); 115 EXPECT_TRUE(parser_->InitRawTraceFileHeader(packagesCurIter)); 128 EXPECT_TRUE(dataFs_.is_open() && parser_ != nullptr); 130 EXPECT_FALSE(parser_->ftraceProcessor_->HandleHeaderPageFormat(chunckStr_)); 134 EXPECT_TRUE(parser_->ftraceProcessor_->HandleHeaderPageFormat(chunckStr_)); 141 EXPECT_FALSE(parser_->ftraceProcessor_->HandleHeaderPageFormat(noCommitField)); [all …]
|
/developtools/profiler/device/cmds/src/ |
D | parse_plugin_config.cpp | 43 parser_.AllowUnknownField(true); in ParsePluginConfig() 152 if (!parser_.ParseFromString(configData, cpuConfigNolite.get())) { in SetSerializeCpuConfig() 170 if (!parser_.ParseFromString(configData, diskioConfigNolite.get())) { in SetSerializeDiskioConfig() 188 if (!parser_.ParseFromString(configData, ftraceConfigNolite.get())) { in SetSerializeFtraceConfig() 207 if (!parser_.ParseFromString(configData, hidumpConfigNolite.get())) { in SetSerializeHidumpConfig() 233 if (!parser_.ParseFromString(iter->second, hiebpfConfigNolite.get())) { in SetSerializeHiebpfConfig() 250 if (!parser_.ParseFromString(configData, hilogConfigNolite.get())) { in SetSerializeHilogConfig() 268 if (!parser_.ParseFromString(configData, memoryConfigNolite.get())) { in SetSerializeMemoryConfig() 286 if (!parser_.ParseFromString(configData, hookConfigNolite.get())) { in SetSerializeHookConfig() 304 if (!parser_.ParseFromString(configData, networkConfigNolite.get())) { in SetSerializeNetworkConfig() [all …]
|
/developtools/profiler/device/cmds/include/ |
D | parse_plugin_config.h | 52 return parser_; in GetParser() 60 google::protobuf::TextFormat::Parser parser_; variable
|