/developtools/smartperf_host/trace_streamer/src/trace_data/ |
D | trace_data_cache_base.cpp | 33 return dataDict_.GetStringIndex(str); in GetDataIndex() 38 return dataDict_.GetStringIndexNoWrite(str); in GetConstDataIndex() 46 thread.nameIndex_ = dataDict_.GetStringIndex(ZERO_THREAD_NAME); in UpdataZeroThreadInfo()
|
D | trace_data_cache_base.h | 66 return dataDict_.Size(); in DataDictSize() 121 DataDict dataDict_; variable
|
D | trace_data_cache_reader.cpp | 23 return dataDict_.GetDataFromDict(id); in GetDataFromDict()
|
D | trace_data_cache_writer.cpp | 464 dataDict_.Clear(); in ClearBase()
|
/developtools/smartperf_host/trace_streamer/src/trace_data/trace_stdtype/ |
D | common_stdtype.cpp | 91 dataDict_.emplace_back(std::string(str)); in GetStringIndex() 92 DataIndex stringIdentity = dataDict_.size() - 1; in GetStringIndex() 93 dataDictInnerMap_.emplace(std::string_view(dataDict_.back()), stringIdentity); in GetStringIndex() 107 for (auto i = 0; i < dataDict_.size(); i++) { in Finish() 108 while ((pos = dataDict_[i].find("\"")) != std::string::npos) { in Finish() 109 dataDict_[i].replace(pos, 1, "\'"); in Finish() 111 …while (!dataDict_[i].empty() && ((dataDict_[i].back() >= spasciiStart_ && dataDict_[i].back() <= s… in Finish() 112 dataDict_[i].back() == '\r')) { in Finish() 113 dataDict_[i].pop_back(); in Finish()
|
D | common_stdtype.h | 61 return dataDict_.size(); in Size() 67 TS_ASSERT(id < dataDict_.size()); in GetDataFromDict() 68 return dataDict_[id]; in GetDataFromDict() 73 dataDict_.clear(); in Clear() 77 std::deque<std::string> dataDict_;
|
/developtools/smartperf_host/trace_streamer/test/unittest/pbreader_parser/native_memory/ |
D | native_hook_parser_test.cpp | 636 auto expectSymbolData = stream_.traceDataCache_->dataDict_.GetStringIndex(SYMBOL_NAME_01); 637 auto expectFilePathData = stream_.traceDataCache_->dataDict_.GetStringIndex(FILE_PATH_01); 673 auto firstExpectSymbol = stream_.traceDataCache_->dataDict_.GetStringIndex(SYMBOL_NAME_02); 674 auto firstExpectFilePath = stream_.traceDataCache_->dataDict_.GetStringIndex(FILE_PATH_02); 678 auto secondExpectSymbol = stream_.traceDataCache_->dataDict_.GetStringIndex(SYMBOL_NAME_01); 679 auto secondExpectFilePath = stream_.traceDataCache_->dataDict_.GetStringIndex(FILE_PATH_01); 813 auto expectSymbolData = stream_.traceDataCache_->dataDict_.GetStringIndex(SYMBOL_NAME_01); 814 auto expectFilePathData = stream_.traceDataCache_->dataDict_.GetStringIndex(FILE_PATH_01); 828 expectSymbolData = stream_.traceDataCache_->dataDict_.GetStringIndex(SYMBOL_NAME_02); 829 expectFilePathData = stream_.traceDataCache_->dataDict_.GetStringIndex(FILE_PATH_02); [all …]
|
/developtools/smartperf_host/trace_streamer/src/parser/hiperf_parser/ |
D | perf_data_parser.cpp | 25 configNameIndex_(traceDataCache_->dataDict_.GetStringIndex("config_name")), in PerfDataParser() 26 workloaderIndex_(traceDataCache_->dataDict_.GetStringIndex("workload_cmd")), in PerfDataParser() 27 cmdlineIndex_(traceDataCache_->dataDict_.GetStringIndex("cmdline")), in PerfDataParser() 28 runingStateIndex_(traceDataCache_->dataDict_.GetStringIndex("Running")), in PerfDataParser() 29 suspendStatIndex_(traceDataCache_->dataDict_.GetStringIndex("Suspend")), in PerfDataParser() 30 unkonwnStateIndex_(traceDataCache_->dataDict_.GetStringIndex("-")), in PerfDataParser() 514 auto configValueIndex = traceDataCache_->dataDict_.GetStringIndex(fileAttr.name.c_str()); in LoadEventDesc() 536 auto workloaderValueIndex = traceDataCache_->dataDict_.GetStringIndex(workloader.c_str()); in UpdateReportWorkloadInfo() 544 auto cmdlineValueIndex = traceDataCache_->dataDict_.GetStringIndex(cmdline.c_str()); in UpdateCmdlineInfo() 563 … auto filePathIndex = traceDataCache_->dataDict_.GetStringIndex(symbolsFile->filePath_.c_str()); in UpdateSymbolAndFilesData() [all …]
|
/developtools/smartperf_host/trace_streamer/src/parser/pbreader_parser/hilog_parser/ |
D | pbreader_hilog_parser.cpp | 69 DataIndex levelData = traceDataCache_->dataDict_.GetStringIndex(iter->second.c_str()); in Parse() 70 … DataIndex logTag = traceDataCache_->dataDict_.GetStringIndex(logDetails.tag().ToStdString()); in Parse()
|
/developtools/smartperf_host/trace_streamer/src/parser/ptreader_parser/hilog_parser/ |
D | ptreader_hilog_parser.cpp | 152 auto levelData = traceDataCache_->dataDict_.GetStringIndex(hilogData->level); in BeginFilterHilogData() 153 auto logTag = traceDataCache_->dataDict_.GetStringIndex(hilogData->tag); in BeginFilterHilogData() 154 auto logData = traceDataCache_->dataDict_.GetStringIndex(hilogData->context); in BeginFilterHilogData()
|
/developtools/smartperf_host/trace_streamer/src/filter/hook_filter/ |
D | native_hook_filter.cpp | 30 … invalidLibPathIndexs_.insert(traceDataCache_->dataDict_.GetStringIndex("/system/lib/libc++.so")); in NativeHookFilter() 31 …invalidLibPathIndexs_.insert(traceDataCache_->dataDict_.GetStringIndex("/system/lib64/libc++.so")); in NativeHookFilter() 32 …invalidLibPathIndexs_.insert(traceDataCache_->dataDict_.GetStringIndex("/system/lib/ld-musl-aarch6… in NativeHookFilter() 33 …invalidLibPathIndexs_.insert(traceDataCache_->dataDict_.GetStringIndex("/system/lib/ld-musl-arm.so… in NativeHookFilter() 149 …frameInfo->symbolIndex_ = traceDataCache_->dataDict_.GetStringIndex(reader.symbol_name().ToStdStri… in ParseFrame() 150 …frameInfo->filePathIndex_ = traceDataCache_->dataDict_.GetStringIndex(reader.file_path().ToStdStri… in ParseFrame() 407 subType = traceDataCache_->dataDict_.GetStringIndex(mMapEventReader.type().ToStdString()); in ParseMmapEvent() 513 … auto tagIndex = traceDataCache_->dataDict_.GetStringIndex(memTagEventReader.tag().ToStdString()); in ParseTagEvent() 942 auto filePathStr = traceDataCache_->dataDict_.GetDataFromDict(filePathIndex); in UpdateSymbolIdsForSymbolizationFailed() 945 i, traceDataCache_->dataDict_.GetStringIndex(filePathStr + "+" + vaddrStr)); in UpdateSymbolIdsForSymbolizationFailed() [all …]
|
/developtools/smartperf_host/trace_streamer/src/parser/pbreader_parser/native_hook_parser/ |
D | pbreader_native_hook_parser.cpp | 97 …auto nameIndex = traceDataCache_->dataDict_.GetStringIndex(filePathMapReader.name().ToStdString()); in ParseFileEvent() 111 … auto nameIndex = traceDataCache_->dataDict_.GetStringIndex(symbolMapReader.name().ToStdString()); in ParseSymbolEvent()
|
/developtools/smartperf_host/trace_streamer/test/unittest/pbreader_parser/ |
D | hilog_parser_test.cpp | 142 auto &dataDict = stream_.traceDataCache_->dataDict_; 179 auto &dataDict = stream_.traceDataCache_->dataDict_;
|
/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/ |
D | ebpf_data_reader.cpp | 189 AddrDesc desc{item->size, traceDataCache_->dataDict_.GetStringIndex(strSymbolName_)}; in ReadKernelSymAddrMap()
|
/developtools/smartperf_host/trace_streamer/src/parser/pbreader_parser/htrace_parser/ |
D | htrace_event_parser.cpp | 57 workQueueId_(dataCache->dataDict_.GetStringIndex("workqueue")), in HtraceEventParser() 964 traceDataCache_->dataDict_.Finish(); in FilterAllEvents()
|
/developtools/smartperf_host/trace_streamer/src/parser/rawtrace_parser/ |
D | cpu_detail_parser.cpp | 233 traceDataCache_->dataDict_.Finish(); in FinishCpuDetailParser()
|
/developtools/smartperf_host/trace_streamer/src/parser/ptreader_parser/bytrace_parser/ |
D | bytrace_event_parser.cpp | 775 traceDataCache_->dataDict_.Finish(); in FilterAllEvents()
|