Home
last modified time | relevance | path

Searched refs:event_ptr (Results 1 – 6 of 6) sorted by relevance

/external/perf_data_converter/src/quipper/
Dperf_parser_test.cc195 if (ev.event_ptr == nullptr) { in CopyActualEvents()
198 *out->add_events() = *ev.event_ptr; in CopyActualEvents()
440 EXPECT_EQ(PERF_RECORD_MMAP, events[0].event_ptr->header().type()); in TEST()
441 EXPECT_EQ("/usr/lib/foo.so", events[0].event_ptr->mmap_event().filename()); in TEST()
442 EXPECT_EQ(0x0000, events[0].event_ptr->mmap_event().start()); in TEST()
443 EXPECT_EQ(0x1000, events[0].event_ptr->mmap_event().len()); in TEST()
444 EXPECT_EQ(0, events[0].event_ptr->mmap_event().pgoff()); in TEST()
446 EXPECT_EQ(PERF_RECORD_MMAP, events[1].event_ptr->header().type()); in TEST()
447 EXPECT_EQ("/usr/lib/bar.so", events[1].event_ptr->mmap_event().filename()); in TEST()
448 EXPECT_EQ(0x1000, events[1].event_ptr->mmap_event().start()); in TEST()
[all …]
Dperf_parser.cc96 parsed_events_[write_index++].event_ptr = in ParseRawEvents()
112 if (event.event_ptr->has_mmap_event() && in ParseRawEvents()
158 PerfEvent& event = *parsed_event.event_ptr; in ProcessEvents()
409 new_event->Swap(parsed_event.event_ptr); in UpdatePerfEventsFromParsedEvents()
410 parsed_event.event_ptr = new_event; in UpdatePerfEventsFromParsedEvents()
419 const PerfEvent& event = *parsed_event->event_ptr; in MapSampleEvent()
425 SampleEvent& sample_info = *parsed_event->event_ptr->mutable_sample_event(); in MapSampleEvent()
581 const auto& event = parsed_event.event_ptr; in MapIPAndPidAndGetNameAndOffset()
Dperf_serializer.h66 bool SerializeEvent(const malloced_unique_ptr<event_t>& event_ptr,
69 malloced_unique_ptr<event_t>* event_ptr) const;
Dperf_parser.h45 PerfDataProto_PerfEvent* event_ptr; member
Dperf_serializer.cc183 const malloced_unique_ptr<event_t>& event_ptr, in SerializeEvent() argument
185 const event_t& event = *event_ptr; in SerializeEvent()
249 malloced_unique_ptr<event_t>* event_ptr) const { in DeserializeEvent()
250 event_ptr->reset(CallocMemoryForEvent(event_proto.header().size())); in DeserializeEvent()
251 event_t* event = event_ptr->get(); in DeserializeEvent()
/external/libchrome/mojo/public/cpp/system/tests/
Dwait_set_unittest.cc335 for (auto& event_ptr : events) { in TEST_F() local
336 event_ptr = std::make_unique<base::WaitableEvent>( in TEST_F()
339 event_ptr->Signal(); in TEST_F()
340 wait_set.AddEvent(event_ptr.get()); in TEST_F()