Searched refs:sample_type (Results 1 – 15 of 15) sorted by relevance
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()60 if (r1.sample_type & PERF_SAMPLE_REGS_USER) { in CheckSampleRecordDataEqual()68 if (r1.sample_type & PERF_SAMPLE_STACK_USER) { in CheckSampleRecordDataEqual()
77 sample_type = attr.sample_type; in CreateContent()86 sample_type = attr.sample_type; in ReadFromBinaryFormat()88 if (sample_type & PERF_SAMPLE_TID) { in ReadFromBinaryFormat()91 if (sample_type & PERF_SAMPLE_TIME) { in ReadFromBinaryFormat()94 if (sample_type & PERF_SAMPLE_ID) { in ReadFromBinaryFormat()97 if (sample_type & PERF_SAMPLE_STREAM_ID) { in ReadFromBinaryFormat()100 if (sample_type & PERF_SAMPLE_CPU) { in ReadFromBinaryFormat()103 if (sample_type & PERF_SAMPLE_IDENTIFIER) { in ReadFromBinaryFormat()115 if (sample_type & PERF_SAMPLE_TID) { in WriteToBinaryFormat()118 if (sample_type & PERF_SAMPLE_TIME) { in WriteToBinaryFormat()[all …]
48 static std::string SampleTypeToString(uint64_t sample_type) { in SampleTypeToString() argument65 return BitsToString("sample_type", sample_type, sample_type_names); in SampleTypeToString()89 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()113 PrintIndented(indent + 1, "sample_type (0x%llx) %s\n", attr.sample_type, in DumpPerfEventAttr()114 SampleTypeToString(attr.sample_type).c_str()); in DumpPerfEventAttr()152 sample_types.push_back(attr.sample_type); in GetCommonEventIdPositionsForAttrs()224 return attr.sample_id_all && (attr.sample_type & PERF_SAMPLE_TIME); in IsTimestampSupported()228 return attr.sample_id_all && (attr.sample_type & PERF_SAMPLE_CPU); in IsCpuSupported()
55 event_attr.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME in TEST_F()66 event_attr.sample_type |= PERF_SAMPLE_CALLCHAIN; in TEST_F()102 event_attr.sample_type |= PERF_SAMPLE_CALLCHAIN | PERF_SAMPLE_REGS_USER | PERF_SAMPLE_STACK_USER; in TEST_F()114 event_attr.sample_type |= PERF_SAMPLE_CALLCHAIN | PERF_SAMPLE_REGS_USER | PERF_SAMPLE_STACK_USER; in TEST_F()123 event_attr.sample_type |= PERF_SAMPLE_CALLCHAIN | PERF_SAMPLE_REGS_USER | PERF_SAMPLE_STACK_USER; in TEST_F()
42 attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in IsBranchSamplingSupported()53 attr.sample_type |= in IsDwarfCallChainSamplingSupported()311 uint64_t sample_type = 0; in UnionSampleType() local314 sample_type |= selection.event_attr.sample_type; in UnionSampleType()319 selection.event_attr.sample_type = sample_type; in UnionSampleType()392 attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in SetBranchSampling()394 attr.sample_type &= ~PERF_SAMPLE_BRANCH_STACK; in SetBranchSampling()405 selection.event_attr.sample_type |= PERF_SAMPLE_CALLCHAIN; in EnableFpCallChainSampling()417 selection.event_attr.sample_type |= PERF_SAMPLE_CALLCHAIN | in EnableDwarfCallChainSampling()
85 if (use_branch_address_ && (r.sample_type & PERF_SAMPLE_BRANCH_STACK)) { in ProcessSampleRecord()102 if (r.sample_type & PERF_SAMPLE_CALLCHAIN) { in ProcessSampleRecord()109 if (thread != nullptr && (r.sample_type & PERF_SAMPLE_REGS_USER) && in ProcessSampleRecord()111 (r.sample_type & PERF_SAMPLE_STACK_USER) && in ProcessSampleRecord()
305 attr.sample_type |= PERF_SAMPLE_STACK_USER; in TEST_F()385 attr.sample_type |= PERF_SAMPLE_STACK_USER; in TEST_F()408 attr.sample_type |= PERF_SAMPLE_STACK_USER; in TEST_F()
185 uint64_t sample_type; member379 uint64_t sample_type; // sample_type is a bit mask determining which fields member
110 : sample_type_(attr.sample_type), in RecordParser()222 if (attr.sample_type & PERF_SAMPLE_STACK_USER) { in RecordReadThread()
1497 if ((r.sample_type & PERF_SAMPLE_CALLCHAIN) && in UnwindRecord()1498 (r.sample_type & PERF_SAMPLE_REGS_USER) && in UnwindRecord()1500 (r.sample_type & PERF_SAMPLE_STACK_USER) && in UnwindRecord()1776 if (r.sample_type & PERF_SAMPLE_CALLCHAIN) { in CollectHitFileInfo()
193 if (sr.sample_type & PERF_SAMPLE_CALLCHAIN) { in DumpDataSection()
233 if ((r.sample_type & need_type) == need_type && r.regs_user_data.reg_mask != 0 && in ProcessRecord()
371 if (current_event_.tracing_data_format.size > 0u && (r.sample_type & PERF_SAMPLE_RAW)) { in SetCurrentSample()
755 if ((attr.attr.sample_type & PERF_SAMPLE_BRANCH_STACK) == 0) { in ReadEventAttrFromRecordFile()
62 print('%d sample_types' % len(p.sample_type))63 for i in range(len(p.sample_type)):65 self.show_value_type(p.sample_type[i])369 sample_type_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')