Searched refs:sample_type (Results 1 – 11 of 11) sorted by relevance
74 sample_type = attr.sample_type; in CreateContent()81 sample_type = attr.sample_type; in ReadFromBinaryFormat()83 if (sample_type & PERF_SAMPLE_TID) { in ReadFromBinaryFormat()86 if (sample_type & PERF_SAMPLE_TIME) { in ReadFromBinaryFormat()89 if (sample_type & PERF_SAMPLE_ID) { in ReadFromBinaryFormat()92 if (sample_type & PERF_SAMPLE_STREAM_ID) { in ReadFromBinaryFormat()95 if (sample_type & PERF_SAMPLE_CPU) { in ReadFromBinaryFormat()108 if (sample_type & PERF_SAMPLE_TID) { in WriteToBinaryFormat()111 if (sample_type & PERF_SAMPLE_TIME) { in WriteToBinaryFormat()114 if (sample_type & PERF_SAMPLE_ID) { in WriteToBinaryFormat()[all …]
35 attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in IsBranchSamplingSupported()46 attr.sample_type |= PERF_SAMPLE_CALLCHAIN | PERF_SAMPLE_REGS_USER | PERF_SAMPLE_STACK_USER; in IsDwarfCallChainSamplingSupported()75 uint64_t sample_type = 0; in UnionSampleType() local77 sample_type |= selection.event_attr.sample_type; in UnionSampleType()80 selection.event_attr.sample_type = sample_type; in UnionSampleType()145 attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in SetBranchSampling()147 attr.sample_type &= ~PERF_SAMPLE_BRANCH_STACK; in SetBranchSampling()156 selection.event_attr.sample_type |= PERF_SAMPLE_CALLCHAIN; in EnableFpCallChainSampling()166 selection.event_attr.sample_type |= in EnableDwarfCallChainSampling()
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 |= in CreateDefaultPerfEventAttr()97 attr.sample_type |= PERF_SAMPLE_RAW; in CreateDefaultPerfEventAttr()119 PrintIndented(indent + 1, "sample_type (0x%llx) %s\n", attr.sample_type, in DumpPerfEventAttr()120 SampleTypeToString(attr.sample_type).c_str()); in DumpPerfEventAttr()
60 event_attr.sample_type |= PERF_SAMPLE_TIME; in TEST_F()106 event_attr.sample_type |= PERF_SAMPLE_TIME; in TEST_F()
522 if (use_branch_address_ && (event_attr_.sample_type & PERF_SAMPLE_BRANCH_STACK) == 0) { in ReadEventAttrFromRecordFile()545 if (use_branch_address_ && (r.sample_type & PERF_SAMPLE_BRANCH_STACK)) { in ProcessSampleRecord()561 if (r.sample_type & PERF_SAMPLE_CALLCHAIN) { in ProcessSampleRecord()566 if ((r.sample_type & PERF_SAMPLE_REGS_USER) && (r.regs_user_data.reg_mask != 0) && in ProcessSampleRecord()567 (r.sample_type & PERF_SAMPLE_STACK_USER) && (!r.stack_user_data.data.empty())) { in ProcessSampleRecord()
109 uint64_t sample_type; member255 uint64_t sample_type; // sample_type is a bit mask determining which fields below are valid. member
689 if ((r.sample_type & PERF_SAMPLE_CALLCHAIN) && (r.sample_type & PERF_SAMPLE_REGS_USER) && in UnwindRecord()690 (r.regs_user_data.reg_mask != 0) && (r.sample_type & PERF_SAMPLE_STACK_USER) && in UnwindRecord()
109 attrs_[0]->sample_type |= PERF_SAMPLE_TIME; in TEST_F()
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()