Searched refs:sample_type (Results 1 – 15 of 15) sorted by relevance
36 ASSERT_EQ(r1.sample_type, r2.sample_type); in CheckSampleRecordDataEqual()38 if (r1.sample_type & PERF_SAMPLE_IP) { in CheckSampleRecordDataEqual()41 if (r1.sample_type & PERF_SAMPLE_TID) { in CheckSampleRecordDataEqual()45 if (r1.sample_type & PERF_SAMPLE_TIME) { in CheckSampleRecordDataEqual()48 if (r1.sample_type & PERF_SAMPLE_ID) { in CheckSampleRecordDataEqual()51 if (r1.sample_type & PERF_SAMPLE_CPU) { in CheckSampleRecordDataEqual()54 if (r1.sample_type & PERF_SAMPLE_PERIOD) { in CheckSampleRecordDataEqual()57 if (r1.sample_type & PERF_SAMPLE_READ) { in CheckSampleRecordDataEqual()69 if (r1.sample_type & PERF_SAMPLE_CALLCHAIN) { in CheckSampleRecordDataEqual()75 if (r1.sample_type & PERF_SAMPLE_REGS_USER) { in CheckSampleRecordDataEqual()[all …]
91 sample_type = attr.sample_type; in CreateContent()99 sample_type = attr.sample_type; in ReadFromBinaryFormat()104 CHECK_SIZE_U64(p, end, __builtin_popcountll(sample_type & sample_id_mask)); in ReadFromBinaryFormat()105 if (sample_type & PERF_SAMPLE_TID) { in ReadFromBinaryFormat()108 if (sample_type & PERF_SAMPLE_TIME) { in ReadFromBinaryFormat()111 if (sample_type & PERF_SAMPLE_ID) { in ReadFromBinaryFormat()114 if (sample_type & PERF_SAMPLE_STREAM_ID) { in ReadFromBinaryFormat()117 if (sample_type & PERF_SAMPLE_CPU) { in ReadFromBinaryFormat()120 if (sample_type & PERF_SAMPLE_IDENTIFIER) { in ReadFromBinaryFormat()132 if (sample_type & PERF_SAMPLE_TID) { in WriteToBinaryFormat()[all …]
50 static std::string SampleTypeToString(uint64_t sample_type) { in SampleTypeToString() argument67 return BitsToString("sample_type", sample_type, sample_type_names); in SampleTypeToString()91 attr.sample_type |= PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME | PERF_SAMPLE_PERIOD | in CreateDefaultPerfEventAttr()97 attr.sample_type |= PERF_SAMPLE_RAW; in CreateDefaultPerfEventAttr()115 PrintIndented(indent + 1, "sample_type (0x%llx) %s\n", attr.sample_type, in DumpPerfEventAttr()116 SampleTypeToString(attr.sample_type).c_str()); in DumpPerfEventAttr()156 sample_types.push_back(attr.sample_type); in GetCommonEventIdPositionsForAttrs()229 return attr.sample_id_all && (attr.sample_type & PERF_SAMPLE_TIME); in IsTimestampSupported()233 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 | PERF_SAMPLE_ID | in TEST_F()66 event_attr.sample_type |= PERF_SAMPLE_CALLCHAIN; in TEST_F()107 event_attr.sample_type |= PERF_SAMPLE_CALLCHAIN | PERF_SAMPLE_REGS_USER | PERF_SAMPLE_STACK_USER; in TEST_F()119 event_attr.sample_type |= PERF_SAMPLE_CALLCHAIN | PERF_SAMPLE_REGS_USER | PERF_SAMPLE_STACK_USER; in TEST_F()129 event_attr.sample_type |= PERF_SAMPLE_CALLCHAIN | PERF_SAMPLE_REGS_USER | PERF_SAMPLE_STACK_USER; in TEST_F()143 event_attr.sample_type |= PERF_SAMPLE_READ; in TEST_F()
48 attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in IsBranchSamplingSupported()63 attr.sample_type |= PERF_SAMPLE_CALLCHAIN | PERF_SAMPLE_REGS_USER | PERF_SAMPLE_STACK_USER; in IsDwarfCallChainSamplingSupported()331 selection.event_attr.sample_type |= PERF_SAMPLE_READ; in AddCounters()400 uint64_t sample_type = 0; in UnionSampleType() local403 sample_type |= selection.event_attr.sample_type; in UnionSampleType()408 selection.event_attr.sample_type = sample_type; in UnionSampleType()479 attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in SetBranchSampling()481 attr.sample_type &= ~PERF_SAMPLE_BRANCH_STACK; in SetBranchSampling()492 selection.event_attr.sample_type |= PERF_SAMPLE_CALLCHAIN; in EnableFpCallChainSampling()504 selection.event_attr.sample_type |= in EnableDwarfCallChainSampling()
84 if (use_branch_address_ && (r.sample_type & PERF_SAMPLE_BRANCH_STACK)) { in ProcessSampleRecord()101 if (r.sample_type & PERF_SAMPLE_CALLCHAIN) { in ProcessSampleRecord()107 if (thread != nullptr && (r.sample_type & PERF_SAMPLE_REGS_USER) && in ProcessSampleRecord()108 (r.regs_user_data.reg_mask != 0) && (r.sample_type & PERF_SAMPLE_STACK_USER) && in ProcessSampleRecord()
550 if (sr.sample_type & PERF_SAMPLE_CALLCHAIN) { in DumpSampleCallchain()604 if ((r.sample_type & PERF_SAMPLE_CALLCHAIN) && (r.sample_type & PERF_SAMPLE_REGS_USER) && in UnwindRecord()605 (r.regs_user_data.reg_mask != 0) && (r.sample_type & PERF_SAMPLE_STACK_USER) && in UnwindRecord()
120 event_attr.sample_type = PERF_SAMPLE_READ | PERF_SAMPLE_STACK_USER; in TEST()328 attr.sample_type |= PERF_SAMPLE_STACK_USER; in TEST_F()408 attr.sample_type |= PERF_SAMPLE_STACK_USER; in TEST_F()431 attr.sample_type |= PERF_SAMPLE_STACK_USER; in TEST_F()
193 uint64_t sample_type; member380 uint64_t sample_type; // sample_type is a bit mask determining which fields member
109 : sample_type_(attr.sample_type), in RecordParser()234 if (attr.sample_type & PERF_SAMPLE_STACK_USER) { in RecordReadThread()
1640 if ((r.sample_type & PERF_SAMPLE_CALLCHAIN) && (r.sample_type & PERF_SAMPLE_REGS_USER) && in UnwindRecord()1641 (r.regs_user_data.reg_mask != 0) && (r.sample_type & PERF_SAMPLE_STACK_USER) && in UnwindRecord()
367 if (sr.sample_type & PERF_SAMPLE_CALLCHAIN) { in ProcessSampleRecord()
481 if (current_event_.tracing_data_format.size > 0u && (r.sample_type & PERF_SAMPLE_RAW)) { in SetCurrentSample()
874 if ((attr.sample_type & PERF_SAMPLE_BRANCH_STACK) == 0) { in ReadEventAttrFromRecordFile()
73 print('%d sample_types' % len(p.sample_type))74 for i in range(len(p.sample_type)):76 self.show_value_type(p.sample_type[i])398 sample_type_id = len(self.profile.sample_type)399 sample_type = self.profile.sample_type.add()400 sample_type.type = self.get_string_id(name + '_samples')401 sample_type.unit = self.get_string_id('samples')402 sample_type = self.profile.sample_type.add()403 sample_type.type = self.get_string_id(name)405 sample_type.unit = self.get_string_id(units)