Searched refs:sample_type (Results 1 – 16 of 16) sorted by relevance
74 sample_type = attr.sample_type; in CreateContent()83 sample_type = attr.sample_type; in ReadFromBinaryFormat()85 if (sample_type & PERF_SAMPLE_TID) { in ReadFromBinaryFormat()88 if (sample_type & PERF_SAMPLE_TIME) { in ReadFromBinaryFormat()91 if (sample_type & PERF_SAMPLE_ID) { in ReadFromBinaryFormat()94 if (sample_type & PERF_SAMPLE_STREAM_ID) { in ReadFromBinaryFormat()97 if (sample_type & PERF_SAMPLE_CPU) { in ReadFromBinaryFormat()100 if (sample_type & PERF_SAMPLE_IDENTIFIER) { in ReadFromBinaryFormat()112 if (sample_type & PERF_SAMPLE_TID) { in WriteToBinaryFormat()115 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()60 if (r1.sample_type & PERF_SAMPLE_REGS_USER) { in CheckSampleRecordDataEqual()68 if (r1.sample_type & PERF_SAMPLE_STACK_USER) { in CheckSampleRecordDataEqual()
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()151 sample_types.push_back(attr.sample_type); in GetCommonEventIdPositionsForAttrs()223 return attr.sample_id_all && (attr.sample_type & PERF_SAMPLE_TIME); in IsTimestampSupported()227 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()
39 attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in IsBranchSamplingSupported()50 attr.sample_type |= in IsDwarfCallChainSamplingSupported()299 uint64_t sample_type = 0; in UnionSampleType() local302 sample_type |= selection.event_attr.sample_type; in UnionSampleType()307 selection.event_attr.sample_type = sample_type; in UnionSampleType()380 attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in SetBranchSampling()382 attr.sample_type &= ~PERF_SAMPLE_BRANCH_STACK; in SetBranchSampling()393 selection.event_attr.sample_type |= PERF_SAMPLE_CALLCHAIN; in EnableFpCallChainSampling()405 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()
101 if (attr_.sample_type & PERF_SAMPLE_CALLCHAIN) { in SendStartProfilingMessage()
182 uint64_t sample_type; member376 uint64_t sample_type; // sample_type is a bit mask determining which fields member
108 : sample_type_(attr.sample_type), in RecordParser()210 if (attr.sample_type & PERF_SAMPLE_STACK_USER) { in RecordReadThread()
1408 if ((r.sample_type & PERF_SAMPLE_CALLCHAIN) && in UnwindRecord()1409 (r.sample_type & PERF_SAMPLE_REGS_USER) && in UnwindRecord()1411 (r.sample_type & PERF_SAMPLE_STACK_USER) && in UnwindRecord()1675 if (r.sample_type & PERF_SAMPLE_CALLCHAIN) { in CollectHitFileInfo()
185 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()
287 attr.sample_type |= PERF_SAMPLE_STACK_USER; in TEST_F()
349 if (current_event_.tracing_data_format.size > 0u && (r.sample_type & PERF_SAMPLE_RAW)) { in SetCurrentSample()
769 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])362 sample_type_id = len(self.profile.sample_type)363 sample_type = self.profile.sample_type.add()364 sample_type.type = self.get_string_id('event_' + name + '_samples')365 sample_type.unit = self.get_string_id('count')366 sample_type = self.profile.sample_type.add()367 sample_type.type = self.get_string_id('event_' + name + '_count')368 sample_type.unit = self.get_string_id('count')