Searched refs:event_t (Results 1 – 7 of 7) sorted by relevance
34 event_t* CallocMemoryForEvent(size_t size);35 event_t* ReallocMemoryForEvent(event_t* event, size_t new_size);87 uint64_t GetPerfSampleDataOffset(const event_t& event);
31 event_t* CallocMemoryForEvent(size_t size) { in CallocMemoryForEvent()32 event_t* event = reinterpret_cast<event_t*>(calloc(1, size)); in CallocMemoryForEvent()116 uint64_t GetPerfSampleDataOffset(const event_t& event) { in GetPerfSampleDataOffset()120 offset = offsetof(event_t, sample.array); in GetPerfSampleDataOffset()
149 bool ReadPerfSampleInfo(const event_t& event,153 event_t* event) const;160 const std::vector<malloced_unique_ptr<event_t>>& events() const { in events()240 bool ReadPerfEventBlock(const event_t& event);264 std::vector<malloced_unique_ptr<event_t>> events_;
62 typedef perf_event event_t; typedef
775 const event_t& event = *events_[i]; in GetFilenamesAsSet()819 bool PerfReader::ReadPerfSampleInfo(const event_t& event, in ReadPerfSampleInfo()859 event_t* event) const { in WritePerfSampleInfo()1094 const event_t* event = reinterpret_cast<const event_t*>(data.ptr + offset); in ReadData()1436 bool PerfReader::ReadPerfEventBlock(const event_t& event) { in ReadPerfEventBlock()1455 size = sizeof(event_t); in ReadPerfEventBlock()1456 else if (size > sizeof(event_t)) { in ReadPerfEventBlock()1458 << sizeof(event_t); in ReadPerfEventBlock()1463 malloced_unique_ptr<event_t> event_copy(CallocMemoryForEvent(size)); in ReadPerfEventBlock()1642 event_t* event = events_[i].get(); in LocalizeMMapFilenames()[all …]
44 event_t* raw_event;
152 event_t& event = *parsed_event.raw_event; in ProcessEvents()442 const event_t* raw_event = parsed_event->raw_event; in MapIPAndPidAndGetNameAndOffset()