Home
last modified time | relevance | path

Searched refs:attr_ (Results 1 – 5 of 5) sorted by relevance

/system/extras/simpleperf/
DInplaceSamplerClient.cpp43 : attr_(attr), pid_(pid), tids_(tids), got_start_profiling_reply_msg_(false) { in InplaceSamplerClient()
44 if (attr_.freq) { in InplaceSamplerClient()
45 sample_freq_ = attr_.sample_freq; in InplaceSamplerClient()
47 sample_freq_ = std::max(1u, static_cast<uint32_t>(1000000000 / attr_.sample_period)); in InplaceSamplerClient()
101 if (attr_.sample_type & PERF_SAMPLE_CALLCHAIN) { in SendStartProfilingMessage()
153 CommRecord r(attr_, pid_, tid, p, Id(), time); in HandleMessage()
166 MmapRecord r(attr_, false, pid_, pid_, start, len, pgoff, p, Id(), time); in HandleMessage()
182 SampleRecord r(attr_, Id(), ips[0], pid_, tid, time, 0, period, ips, {}, 0); in HandleMessage()
Devent_fd.h57 const perf_event_attr& attr() const { return attr_; } in attr()
96 : attr_(attr), in EventFd()
112 const perf_event_attr attr_; variable
DInplaceSamplerClient.h46 const perf_event_attr attr_; variable
DRecordReadThread.h176 perf_event_attr attr_; variable
DRecordReadThread.cpp208 : record_buffer_(record_buffer_size), record_parser_(attr), attr_(attr), in RecordReadThread()
286 return ReadRecordFromBuffer(attr_, p); in GetRecord()