Lines Matching refs:parsed_event
157 ParsedEvent& parsed_event = parsed_events_[i];
158 PerfEvent& event = *parsed_event.event_ptr;
174 if (MapSampleEvent(&parsed_event)) ++stats_.num_sample_events_mapped;
186 parsed_event.num_samples_in_mmap_region = 0;
407 for (ParsedEvent& parsed_event : parsed_events_) {
409 new_event->Swap(parsed_event.event_ptr);
410 parsed_event.event_ptr = new_event;
416 bool PerfParser::MapSampleEvent(ParsedEvent* parsed_event) {
419 const PerfEvent& event = *parsed_event->event_ptr;
425 SampleEvent& sample_info = *parsed_event->event_ptr->mutable_sample_event();
431 parsed_event->set_command(comm_iter->second);
439 &parsed_event->dso_and_offset)) {
447 sample_info.mutable_callchain(), parsed_event)) {
453 parsed_event)) {
463 ParsedEvent* parsed_event) {
475 parsed_event->callchain.resize(callchain->size());
491 &parsed_event->callchain[num_entries_mapped++])) {
497 // Not all the entries were mapped. Trim |parsed_event->callchain| to
499 parsed_event->callchain.resize(num_entries_mapped);
506 ParsedEvent* parsed_event) {
533 parsed_event->branch_stack.resize(trimmed_size);
536 ParsedEvent::BranchEntry& parsed_entry = parsed_event->branch_stack[i];
580 ParsedEvent& parsed_event = parsed_events_[id];
581 const auto& event = parsed_event.event_ptr;
591 ++parsed_event.num_samples_in_mmap_region;