Lines Matching refs:attr
269 perf_event_attr attr; member
560 EventAttrWithName attr; in ReadEventAttrsFromRecordFile() local
561 attr.attr = *attr_with_id.attr; in ReadEventAttrsFromRecordFile()
562 attr.event_ids = attr_with_id.ids; in ReadEventAttrsFromRecordFile()
563 attr.name = GetEventNameByAttr(attr.attr); in ReadEventAttrsFromRecordFile()
564 event_attrs_.push_back(attr); in ReadEventAttrsFromRecordFile()
624 for (auto& attr : event_attrs_) { in ProcessTracingData() local
625 if (attr.attr.type == PERF_TYPE_TRACEPOINT) { in ProcessTracingData()
626 uint64_t trace_event_id = attr.attr.config; in ProcessTracingData()
627 attr.name = tracing.GetTracingEventNameHavingId(trace_event_id); in ProcessTracingData()
640 slab_sample_tree_builder_->AddSlabFormat(attr.event_ids, f); in ProcessTracingData()
646 slab_sample_tree_builder_->AddSlabFormat(attr.event_ids, f); in ProcessTracingData()
679 for (const auto& attr : event_attrs_) { in PrintReportContext() local
680 fprintf(fp, "Event: %s (type %u, config %llu)\n", attr.name.c_str(), in PrintReportContext()
681 attr.attr.type, attr.attr.config); in PrintReportContext()