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

/system/extras/simpleperf/
H A Drecord.cpp68 sample_type = attr.sample_type;
72 if (sample_type & PERF_SAMPLE_TID) {
75 if (sample_type & PERF_SAMPLE_TIME) {
78 if (sample_type & PERF_SAMPLE_ID) {
81 if (sample_type & PERF_SAMPLE_STREAM_ID) {
84 if (sample_type & PERF_SAMPLE_CPU) {
93 sample_type = attr.sample_type;
95 if (sample_type
[all...]
H A Devent_attr.cpp47 static std::string SampleTypeToString(uint64_t sample_type) { argument
61 return BitsToString("sample_type", sample_type, sample_type_names);
87 attr.sample_type |= PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME | PERF_SAMPLE_PERIOD;
108 PrintIndented(indent + 1, "sample_type (0x%llx) %s\n", attr.sample_type,
109 SampleTypeToString(attr.sample_type).c_str());
H A Drecord.h72 // sample_id_all and sample_type in perf_event_attr. To avoid the complexity of referring to
73 // perf_event_attr each time, we copy sample_id_all and sample_type inside the SampleId structure.
76 uint64_t sample_type; member in struct:SampleId
169 uint64_t sample_type; // sample_type is a bit mask determining which fields below are valid. member in struct:SampleRecord
H A Drecord_file.cpp154 if (!(r.sample_type & PERF_SAMPLE_IP) || !(r.sample_type & PERF_SAMPLE_TID)) {
/system/extras/perfprofd/quipper/
H A Dperf_utils.cc91 uint64_t sample_type) {
112 return sample_type & mask;
90 GetSampleFieldsForEventType(uint32_t event_type, uint64_t sample_type) argument
H A Dperf_utils.h74 // Given a general perf sample format |sample_type|, return the fields of that
83 uint64_t GetSampleFieldsForEventType(uint32_t event_type, uint64_t sample_type);
H A Dperf_reader.cc949 ByteSwap(&attr->sample_type);
977 sample_type_ = attr->sample_type;
979 CHECK_EQ(sample_type_, attr->sample_type)

Completed in 102 milliseconds