Home
last modified time | relevance | path

Searched refs:fileAttr (Results 1 – 3 of 3) sorted by relevance

/developtools/hiperf/src/
Dsubcommand_report.cpp369 const AttrWithId &fileAttr = sectionEventdesc.eventDesces_[i]; in LoadEventDesc() local
371 HLOGV("event name[%zu]: %s ids: %s", i, fileAttr.name.c_str(), in LoadEventDesc()
372 VectorToString(fileAttr.ids).c_str()); in LoadEventDesc()
373 if (cpuOffMode_ and fileAttr.name == cpuOffEventName) { in LoadEventDesc()
375 std::set<uint64_t> cpuOffids(fileAttr.ids.begin(), fileAttr.ids.end()); in LoadEventDesc()
381 configNames_.emplace_back(fileAttr.name); in LoadEventDesc()
383 for (uint64_t id : fileAttr.ids) { in LoadEventDesc()
389 GetReport().configs_.emplace_back(fileAttr.name, fileAttr.attr.type, in LoadEventDesc()
390 fileAttr.attr.config, cpuOffMode_ ? false : true); in LoadEventDesc()
391 config.ids_ = fileAttr.ids; in LoadEventDesc()
[all …]
Dperf_file_writer.cpp286 perf_file_attr fileAttr; in WriteAttrAndId() local
287 fileAttr.attr = attrId.attr; in WriteAttrAndId()
288 fileAttr.ids.offset = idSectionOffset; in WriteAttrAndId()
289 fileAttr.ids.size = attrId.ids.size() * sizeof(uint64_t); in WriteAttrAndId()
290 idSectionOffset += fileAttr.ids.size; in WriteAttrAndId()
292 if (!Write(&fileAttr, sizeof(fileAttr))) { in WriteAttrAndId()
/developtools/smartperf_host/trace_streamer/src/parser/hiperf_parser/
Dperf_data_parser.cpp501 const auto &fileAttr = sectionEventdesc.eventDesces_[i]; in LoadEventDesc() local
502 …TS_LOGI("event name[%zu]: %s ids: %s", i, fileAttr.name.c_str(), VectorToString(fileAttr.ids).c_st… in LoadEventDesc()
503 for (uint64_t id : fileAttr.ids) { in LoadEventDesc()
508 …auto &config = report_->configs_.emplace_back(fileAttr.name, fileAttr.attr.type, fileAttr.attr.con… in LoadEventDesc()
510 config.ids_ = fileAttr.ids; in LoadEventDesc()
514 auto configValueIndex = traceDataCache_->dataDict_.GetStringIndex(fileAttr.name.c_str()); in LoadEventDesc()