Home
last modified time | relevance | path

Searched refs:dataDict_ (Results 1 – 17 of 17) sorted by relevance

/developtools/smartperf_host/trace_streamer/src/trace_data/
Dtrace_data_cache_base.cpp33 return dataDict_.GetStringIndex(str); in GetDataIndex()
38 return dataDict_.GetStringIndexNoWrite(str); in GetConstDataIndex()
46 thread.nameIndex_ = dataDict_.GetStringIndex(ZERO_THREAD_NAME); in UpdataZeroThreadInfo()
Dtrace_data_cache_base.h66 return dataDict_.Size(); in DataDictSize()
121 DataDict dataDict_; variable
Dtrace_data_cache_reader.cpp23 return dataDict_.GetDataFromDict(id); in GetDataFromDict()
Dtrace_data_cache_writer.cpp464 dataDict_.Clear(); in ClearBase()
/developtools/smartperf_host/trace_streamer/src/trace_data/trace_stdtype/
Dcommon_stdtype.cpp91 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()
Dcommon_stdtype.h61 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/
Dnative_hook_parser_test.cpp636 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/
Dperf_data_parser.cpp25 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/
Dpbreader_hilog_parser.cpp69 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/
Dptreader_hilog_parser.cpp152 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/
Dnative_hook_filter.cpp30 … 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/
Dpbreader_native_hook_parser.cpp97 …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/
Dhilog_parser_test.cpp142 auto &dataDict = stream_.traceDataCache_->dataDict_;
179 auto &dataDict = stream_.traceDataCache_->dataDict_;
/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/
Debpf_data_reader.cpp189 AddrDesc desc{item->size, traceDataCache_->dataDict_.GetStringIndex(strSymbolName_)}; in ReadKernelSymAddrMap()
/developtools/smartperf_host/trace_streamer/src/parser/pbreader_parser/htrace_parser/
Dhtrace_event_parser.cpp57 workQueueId_(dataCache->dataDict_.GetStringIndex("workqueue")), in HtraceEventParser()
964 traceDataCache_->dataDict_.Finish(); in FilterAllEvents()
/developtools/smartperf_host/trace_streamer/src/parser/rawtrace_parser/
Dcpu_detail_parser.cpp233 traceDataCache_->dataDict_.Finish(); in FinishCpuDetailParser()
/developtools/smartperf_host/trace_streamer/src/parser/ptreader_parser/bytrace_parser/
Dbytrace_event_parser.cpp775 traceDataCache_->dataDict_.Finish(); in FilterAllEvents()