Searched refs:sample_type (Results 1 – 7 of 7) sorted by relevance
68 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 …]
47 static std::string SampleTypeToString(uint64_t sample_type) { in SampleTypeToString() argument61 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()
76 uint64_t sample_type; member169 uint64_t sample_type; // sample_type is a bit mask determining which fields below are valid. member
154 if (!(r.sample_type & PERF_SAMPLE_IP) || !(r.sample_type & PERF_SAMPLE_TID)) { in GetHitModulesInBuffer()
91 uint64_t sample_type) { in GetSampleFieldsForEventType() argument112 return sample_type & mask; in GetSampleFieldsForEventType()
83 uint64_t GetSampleFieldsForEventType(uint32_t event_type, uint64_t sample_type);
949 ByteSwap(&attr->sample_type); in ReadEventAttr()977 sample_type_ = attr->sample_type; in ReadEventAttr()979 CHECK_EQ(sample_type_, attr->sample_type) in ReadEventAttr()