Searched refs:sample_type (Results 1 - 17 of 17) sorted by relevance
/system/extras/simpleperf/ |
H A D | record_equal_test.h | 34 ASSERT_EQ(r1.sample_type, r2.sample_type); 35 if (r1.sample_type & PERF_SAMPLE_IP) { 38 if (r1.sample_type & PERF_SAMPLE_TID) { 42 if (r1.sample_type & PERF_SAMPLE_TIME) { 45 if (r1.sample_type & PERF_SAMPLE_ID) { 48 if (r1.sample_type & PERF_SAMPLE_CPU) { 51 if (r1.sample_type & PERF_SAMPLE_PERIOD) { 54 if (r1.sample_type & PERF_SAMPLE_CALLCHAIN) {
|
H A D | record.cpp | 68 sample_type = attr.sample_type; 77 sample_type = attr.sample_type; 79 if (sample_type & PERF_SAMPLE_TID) { 82 if (sample_type & PERF_SAMPLE_TIME) { 85 if (sample_type & PERF_SAMPLE_ID) { 88 if (sample_type & PERF_SAMPLE_STREAM_ID) { 91 if (sample_type & PERF_SAMPLE_CPU) { 94 if (sample_type [all...] |
H A D | event_attr.cpp | 47 static std::string SampleTypeToString(uint64_t sample_type) { argument 64 return BitsToString("sample_type", sample_type, sample_type_names); 90 attr.sample_type |= PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME | PERF_SAMPLE_PERIOD | 95 attr.sample_type |= PERF_SAMPLE_RAW; 112 PrintIndented(indent + 1, "sample_type (0x%llx) %s\n", attr.sample_type, 113 SampleTypeToString(attr.sample_type).c_str()); 150 sample_types.push_back(attr.sample_type); 222 return attr.sample_id_all && (attr.sample_type [all...] |
H A D | record_test.cpp | 56 event_attr.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME 65 event_attr.sample_type |= PERF_SAMPLE_TIME; 111 event_attr.sample_type |= PERF_SAMPLE_TIME; 128 event_attr.sample_type |= PERF_SAMPLE_TIME;
|
H A D | sample_tree.h | 81 if (use_branch_address_ && (r.sample_type & PERF_SAMPLE_BRANCH_STACK)) { 98 if (r.sample_type & PERF_SAMPLE_CALLCHAIN) { 105 if (thread != nullptr && (r.sample_type & PERF_SAMPLE_REGS_USER) && 107 (r.sample_type & PERF_SAMPLE_STACK_USER) &&
|
H A D | event_selection_set.cpp | 37 attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; 48 attr.sample_type |= 165 uint64_t sample_type = 0; local 168 sample_type |= selection.event_attr.sample_type; 173 selection.event_attr.sample_type = sample_type; 268 attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; 270 attr.sample_type &= ~PERF_SAMPLE_BRANCH_STACK; 281 selection.event_attr.sample_type | [all...] |
H A D | record.h | 172 // determined by sample_id_all and sample_type in perf_event_attr. To avoid the 174 // and sample_type inside the SampleId structure. 177 uint64_t sample_type; member in struct:SampleId 365 uint64_t sample_type; // sample_type is a bit mask determining which fields member in struct:SampleRecord
|
H A D | InplaceSamplerClient.cpp | 101 if (attr_.sample_type & PERF_SAMPLE_CALLCHAIN) {
|
H A D | cmd_record.cpp | 838 if ((r.sample_type & PERF_SAMPLE_CALLCHAIN) && 839 (r.sample_type & PERF_SAMPLE_REGS_USER) && 841 (r.sample_type & PERF_SAMPLE_STACK_USER) && 1068 if (r.sample_type & PERF_SAMPLE_CALLCHAIN) {
|
H A D | record_file_test.cpp | 110 attrs_[0]->sample_type |= PERF_SAMPLE_TIME;
|
H A D | cmd_report_sample.cpp | 374 if (show_callchain_ && (r.sample_type & PERF_SAMPLE_CALLCHAIN)) { 519 if (show_callchain_ && (r.sample_type & PERF_SAMPLE_CALLCHAIN)) {
|
H A D | report_lib_interface.cpp | 274 if (r.sample_type & PERF_SAMPLE_CALLCHAIN) {
|
H A D | cmd_report.cpp | 670 if ((attr.attr.sample_type & PERF_SAMPLE_BRANCH_STACK) == 0) {
|
/system/extras/perfprofd/quipper/ |
H A D | perf_utils.cc | 91 uint64_t sample_type) { 113 return sample_type & mask; 90 GetSampleFieldsForEventType(uint32_t event_type, uint64_t sample_type) argument
|
H A D | perf_utils.h | 74 // Given a general perf sample format |sample_type|, return the fields of that 83 uint64_t GetSampleFieldsForEventType(uint32_t event_type, uint64_t sample_type);
|
H A D | perf_reader.cc | 996 ByteSwap(&attr->sample_type); 1024 sample_type_ = attr->sample_type; 1026 CHECK_EQ(sample_type_, attr->sample_type)
|
/system/extras/simpleperf/scripts/ |
H A D | pprof_proto_generator.py | 65 print('%d sample_types' % len(p.sample_type)) 66 for i in range(len(p.sample_type)): 67 print('sample_type[%d] = ' % i, end='') 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 [all...] |
Completed in 258 milliseconds