Searched refs:sample_type (Results 1 – 17 of 17) sorted by relevance
68 sample_type = attr.sample_type; in CreateContent()77 sample_type = attr.sample_type; in ReadFromBinaryFormat()79 if (sample_type & PERF_SAMPLE_TID) { in ReadFromBinaryFormat()82 if (sample_type & PERF_SAMPLE_TIME) { in ReadFromBinaryFormat()85 if (sample_type & PERF_SAMPLE_ID) { in ReadFromBinaryFormat()88 if (sample_type & PERF_SAMPLE_STREAM_ID) { in ReadFromBinaryFormat()91 if (sample_type & PERF_SAMPLE_CPU) { in ReadFromBinaryFormat()94 if (sample_type & PERF_SAMPLE_IDENTIFIER) { in ReadFromBinaryFormat()106 if (sample_type & PERF_SAMPLE_TID) { in WriteToBinaryFormat()109 if (sample_type & PERF_SAMPLE_TIME) { in WriteToBinaryFormat()[all …]
34 ASSERT_EQ(r1.sample_type, r2.sample_type); in CheckSampleRecordDataEqual()35 if (r1.sample_type & PERF_SAMPLE_IP) { in CheckSampleRecordDataEqual()38 if (r1.sample_type & PERF_SAMPLE_TID) { in CheckSampleRecordDataEqual()42 if (r1.sample_type & PERF_SAMPLE_TIME) { in CheckSampleRecordDataEqual()45 if (r1.sample_type & PERF_SAMPLE_ID) { in CheckSampleRecordDataEqual()48 if (r1.sample_type & PERF_SAMPLE_CPU) { in CheckSampleRecordDataEqual()51 if (r1.sample_type & PERF_SAMPLE_PERIOD) { in CheckSampleRecordDataEqual()54 if (r1.sample_type & PERF_SAMPLE_CALLCHAIN) { in CheckSampleRecordDataEqual()
47 static std::string SampleTypeToString(uint64_t sample_type) { in SampleTypeToString() argument64 return BitsToString("sample_type", sample_type, sample_type_names); in SampleTypeToString()90 attr.sample_type |= PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME | PERF_SAMPLE_PERIOD | in CreateDefaultPerfEventAttr()95 attr.sample_type |= PERF_SAMPLE_RAW; in CreateDefaultPerfEventAttr()112 PrintIndented(indent + 1, "sample_type (0x%llx) %s\n", attr.sample_type, in DumpPerfEventAttr()113 SampleTypeToString(attr.sample_type).c_str()); in DumpPerfEventAttr()150 sample_types.push_back(attr.sample_type); in GetCommonEventIdPositionsForAttrs()222 return attr.sample_id_all && (attr.sample_type & PERF_SAMPLE_TIME); in IsTimestampSupported()226 return attr.sample_id_all && (attr.sample_type & PERF_SAMPLE_CPU); in IsCpuSupported()
56 event_attr.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME in TEST_F()65 event_attr.sample_type |= PERF_SAMPLE_TIME; in TEST_F()111 event_attr.sample_type |= PERF_SAMPLE_TIME; in TEST_F()128 event_attr.sample_type |= PERF_SAMPLE_TIME; in TEST_F()
37 attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in IsBranchSamplingSupported()48 attr.sample_type |= in IsDwarfCallChainSamplingSupported()165 uint64_t sample_type = 0; in UnionSampleType() local168 sample_type |= selection.event_attr.sample_type; in UnionSampleType()173 selection.event_attr.sample_type = sample_type; in UnionSampleType()268 attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in SetBranchSampling()270 attr.sample_type &= ~PERF_SAMPLE_BRANCH_STACK; in SetBranchSampling()281 selection.event_attr.sample_type |= PERF_SAMPLE_CALLCHAIN; in EnableFpCallChainSampling()293 selection.event_attr.sample_type |= PERF_SAMPLE_CALLCHAIN | in EnableDwarfCallChainSampling()
81 if (use_branch_address_ && (r.sample_type & PERF_SAMPLE_BRANCH_STACK)) { in ProcessSampleRecord()98 if (r.sample_type & PERF_SAMPLE_CALLCHAIN) { in ProcessSampleRecord()105 if (thread != nullptr && (r.sample_type & PERF_SAMPLE_REGS_USER) && in ProcessSampleRecord()107 (r.sample_type & PERF_SAMPLE_STACK_USER) && in ProcessSampleRecord()
838 if ((r.sample_type & PERF_SAMPLE_CALLCHAIN) && in UnwindRecord()839 (r.sample_type & PERF_SAMPLE_REGS_USER) && in UnwindRecord()841 (r.sample_type & PERF_SAMPLE_STACK_USER) && in UnwindRecord()1068 if (r.sample_type & PERF_SAMPLE_CALLCHAIN) { in CollectHitFileInfo()
101 if (attr_.sample_type & PERF_SAMPLE_CALLCHAIN) { in SendStartProfilingMessage()
110 attrs_[0]->sample_type |= PERF_SAMPLE_TIME; in TEST_F()
177 uint64_t sample_type; member365 uint64_t sample_type; // sample_type is a bit mask determining which fields member
374 if (show_callchain_ && (r.sample_type & PERF_SAMPLE_CALLCHAIN)) { in PrintSampleRecordInProtobuf()519 if (show_callchain_ && (r.sample_type & PERF_SAMPLE_CALLCHAIN)) { in PrintSampleRecord()
274 if (r.sample_type & PERF_SAMPLE_CALLCHAIN) { in GetCallChainOfCurrentSample()
670 if ((attr.attr.sample_type & PERF_SAMPLE_BRANCH_STACK) == 0) { in ReadEventAttrFromRecordFile()
65 print('%d sample_types' % len(p.sample_type))66 for i in range(len(p.sample_type)):68 self.show_value_type(p.sample_type[i])369 id = len(self.profile.sample_type)370 sample_type = self.profile.sample_type.add()371 sample_type.type = self.get_string_id('event_' + name + '_samples')372 sample_type.unit = self.get_string_id('count')373 sample_type = self.profile.sample_type.add()374 sample_type.type = self.get_string_id('event_' + name + '_count')375 sample_type.unit = self.get_string_id('count')
91 uint64_t sample_type) { in GetSampleFieldsForEventType() argument113 return sample_type & mask; in GetSampleFieldsForEventType()
83 uint64_t GetSampleFieldsForEventType(uint32_t event_type, uint64_t sample_type);
996 ByteSwap(&attr->sample_type); in ReadEventAttr()1024 sample_type_ = attr->sample_type; in ReadEventAttr()1026 CHECK_EQ(sample_type_, attr->sample_type) in ReadEventAttr()