Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Drecord.cpp68 sample_type = attr.sample_type; in CreateContent()
72 if (sample_type & PERF_SAMPLE_TID) { in CreateContent()
75 if (sample_type & PERF_SAMPLE_TIME) { in CreateContent()
78 if (sample_type & PERF_SAMPLE_ID) { in CreateContent()
81 if (sample_type & PERF_SAMPLE_STREAM_ID) { in CreateContent()
84 if (sample_type & PERF_SAMPLE_CPU) { in CreateContent()
93 sample_type = attr.sample_type; in ReadFromBinaryFormat()
95 if (sample_type & PERF_SAMPLE_TID) { in ReadFromBinaryFormat()
98 if (sample_type & PERF_SAMPLE_TIME) { in ReadFromBinaryFormat()
101 if (sample_type & PERF_SAMPLE_ID) { in ReadFromBinaryFormat()
[all …]
Devent_attr.cpp47 static std::string SampleTypeToString(uint64_t sample_type) { in SampleTypeToString() argument
61 return BitsToString("sample_type", sample_type, sample_type_names); in SampleTypeToString()
87 attr.sample_type |= PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME | PERF_SAMPLE_PERIOD; in CreateDefaultPerfEventAttr()
108 PrintIndented(indent + 1, "sample_type (0x%llx) %s\n", attr.sample_type, in DumpPerfEventAttr()
109 SampleTypeToString(attr.sample_type).c_str()); in DumpPerfEventAttr()
Drecord.h76 uint64_t sample_type; member
169 uint64_t sample_type; // sample_type is a bit mask determining which fields below are valid. member
Drecord_file.cpp154 if (!(r.sample_type & PERF_SAMPLE_IP) || !(r.sample_type & PERF_SAMPLE_TID)) { in GetHitModulesInBuffer()
/system/extras/perfprofd/quipper/
Dperf_utils.cc91 uint64_t sample_type) { in GetSampleFieldsForEventType() argument
112 return sample_type & mask; in GetSampleFieldsForEventType()
Dperf_utils.h83 uint64_t GetSampleFieldsForEventType(uint32_t event_type, uint64_t sample_type);
Dperf_reader.cc949 ByteSwap(&attr->sample_type); in ReadEventAttr()
977 sample_type_ = attr->sample_type; in ReadEventAttr()
979 CHECK_EQ(sample_type_, attr->sample_type) in ReadEventAttr()