Searched refs:bufferLine (Results 1 – 6 of 6) sorted by relevance
| /developtools/smartperf_host/trace_streamer/src/trace_data/ |
| D | trace_data_cache.cpp | 367 void TraceDataCache::ExportPerfCallChaninText(uint32_t callChainId, std::string& bufferLine) in ExportPerfCallChaninText() argument 389 bufferLine.append("\t").append(formatIp); in ExportPerfCallChaninText() 391 bufferLine.append(" [").append(nameStr).append("]"); in ExportPerfCallChaninText() 392 bufferLine.append(" (").append(filePath).append(")\r\n"); in ExportPerfCallChaninText() 394 bufferLine.append("\r\n"); in ExportPerfCallChaninText() 412 bool TraceDataCache::ExportHookDataReadableText(int32_t fd, std::string& bufferLine) in ExportHookDataReadableText() argument 418 bufferLine.append(hookTaskName); in ExportHookDataReadableText() 419 bufferLine.append(" ").append(std::to_string(hookTaskId)); in ExportHookDataReadableText() 420 bufferLine.append(" ").append("[---]"); // default HookData event cpu id in ExportHookDataReadableText() 421 bufferLine.append(" ") in ExportHookDataReadableText() [all …]
|
| D | trace_data_cache.h | 56 void ExportPerfCallChaninText(uint32_t callChainId, std::string& bufferLine); 57 void ExportHookCallChaninText(uint32_t callChainId, std::string& bufferLine); 58 bool ExportHookDataReadableText(int32_t fd, std::string& bufferLine); 59 bool ExportHookStatisticReadableText(int32_t fd, std::string& bufferLine); 62 std::string& bufferLine, 64 …bool ExportEbpfPagedMemReadableText(int32_t fd, std::string& bufferLine, const EbpfEventTypeMap& e… 65 …bool ExportEbpfBIOReadableText(int32_t fd, std::string& bufferLine, const EbpfEventTypeMap& ebpfEv… 66 void ExportEbpfCallChaninText(uint32_t callChainId, std::string& bufferLine);
|
| /developtools/smartperf_host/trace_streamer/src/parser/bytrace_parser/ |
| D | bytrace_parser.cpp | 94 int32_t BytraceParser::GotoDetermine(std::string& bufferLine, bool& haveSplitSeg) in GotoDetermine() argument 101 if (IsHtmlTrace(bufferLine)) { in GotoDetermine() 108 if (IsHtmlTraceBegin(bufferLine)) { in GotoDetermine() 113 auto pos = bufferLine.find(script_.c_str()); in GotoDetermine() 116 bufferLine = bufferLine.substr(0, pos); in GotoDetermine() 117 if (std::all_of(bufferLine.begin(), bufferLine.end(), isspace)) { in GotoDetermine() 122 if (IsTraceComment(bufferLine)) { in GotoDetermine() 127 if (bufferLine.empty()) { in GotoDetermine() 132 hilogParser_->ParseHilogDataItem(bufferLine, seq_, haveSplitSeg); in GotoDetermine() 134 hiSysEventParser_->ParseHiSysEventDataItem(bufferLine, seq_, haveSplitSeg); in GotoDetermine() [all …]
|
| D | bytrace_parser.h | 46 int32_t GotoDetermine(std::string& bufferLine, bool& haveSplitSeg);
|
| /developtools/smartperf_host/trace_streamer/src/parser/rawtrace_parser/ |
| D | rawtrace_parser.cpp | 178 std::string bufferLine(packagesCurIter, packagesCurIter + len); in ParseDataRecursively() local 182 if (ParseLastCommData(curType, bufferLine)) { in ParseDataRecursively() 189 TS_CHECK_TRUE(ParseCpuRawData(cpuId, bufferLine), false, "cpu raw parse failed"); in ParseDataRecursively() 191 TS_CHECK_TRUE(HmParseCpuRawData(bufferLine), false, "hm raw trace parse failed"); in ParseDataRecursively() 194 TS_CHECK_TRUE(InitEventFormats(bufferLine), false, "init event format failed"); in ParseDataRecursively() 196 …TS_CHECK_TRUE(ftraceProcessor_->HandleHeaderPageFormat(bufferLine), false, "init header page faile… in ParseDataRecursively() 198 TS_CHECK_TRUE(PrintkFormatsProcessor::GetInstance().HandlePrintkSyms(bufferLine), false, in ParseDataRecursively() 201 … TS_CHECK_TRUE(ksymsProcessor_->HandleKallSyms(bufferLine), false, "init printk_formats failed"); in ParseDataRecursively()
|
| /developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/ |
| D | htrace_parser.cpp | 669 std::string bufferLine; in ParseSegLengthAndEnsureSegDataEnough() local 674 bufferLine.assign(packagesBegin, packagesBegin + packetSegLength_); in ParseSegLengthAndEnsureSegDataEnough() 675 const uint32_t* len = reinterpret_cast<const uint32_t*>(bufferLine.data()); in ParseSegLengthAndEnsureSegDataEnough() 677 lenBuffer_ = bufferLine; in ParseSegLengthAndEnsureSegDataEnough() 706 std::string bufferLine; in ParseDataRecursively() local 709 bufferLine.assign(packagesBegin, packagesBegin + nextLength_); in ParseDataRecursively() 710 ParseTraceDataItem(bufferLine); in ParseDataRecursively()
|