Home
last modified time | relevance | path

Searched refs:event_t (Results 1 – 7 of 7) sorted by relevance

/system/extras/perfprofd/quipper/
Dperf_utils.h34 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);
Dperf_utils.cc31 event_t* CallocMemoryForEvent(size_t size) { in CallocMemoryForEvent()
32 event_t* event = reinterpret_cast<event_t*>(calloc(1, size)); in CallocMemoryForEvent()
115 uint64_t GetPerfSampleDataOffset(const event_t& event) { in GetPerfSampleDataOffset()
119 offset = offsetof(event_t, sample.array); in GetPerfSampleDataOffset()
Dperf_reader.h149 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_;
Dperf_internals.h62 typedef perf_event event_t; typedef
Dperf_reader.cc743 const event_t& event = *events_[i]; in GetFilenamesAsSet()
782 bool PerfReader::ReadPerfSampleInfo(const event_t& event, in ReadPerfSampleInfo()
812 event_t* event) const { in WritePerfSampleInfo()
1047 const event_t* event = reinterpret_cast<const event_t*>(data.ptr + offset); in ReadData()
1389 bool PerfReader::ReadPerfEventBlock(const event_t& event) { in ReadPerfEventBlock()
1394 if (size > sizeof(event_t)) { in ReadPerfEventBlock()
1396 << sizeof(event_t); in ReadPerfEventBlock()
1401 malloced_unique_ptr<event_t> event_copy(CallocMemoryForEvent(size)); in ReadPerfEventBlock()
1578 event_t* event = events_[i].get(); in LocalizeMMapFilenames()
1607 event_t* old_event = event; in LocalizeMMapFilenames()
[all …]
Dperf_parser.h44 event_t* raw_event;
Dperf_parser.cc152 event_t& event = *parsed_event.raw_event; in ProcessEvents()
434 const event_t* raw_event = parsed_event->raw_event; in MapIPAndPidAndGetNameAndOffset()