Home
last modified time | relevance | path

Searched refs:branch_stack (Results 1 – 9 of 9) sorted by relevance

/system/extras/perfprofd/quipper/
Dperf_internals.h48 sample.branch_stack = NULL; in PerfSampleCustodian()
53 if (sample_.branch_stack) in ~PerfSampleCustodian()
54 delete [] sample_.branch_stack; in ~PerfSampleCustodian()
55 if (sample_.branch_stack) in ~PerfSampleCustodian()
Dperf_parser.cc282 if (sample_info.branch_stack && in MapSampleEvent()
284 sample_info.branch_stack, in MapSampleEvent()
346 struct branch_stack* branch_stack, in MapBranchStack() argument
348 if (!branch_stack) { in MapBranchStack()
355 for (size_t i = 0; i < branch_stack->nr; ++i) { in MapBranchStack()
357 if (IsNullBranchStackEntry(branch_stack->entries[i])) { in MapBranchStack()
365 for (size_t i = trimmed_size; i < branch_stack->nr; ++i) { in MapBranchStack()
366 const struct branch_entry& entry = branch_stack->entries[i]; in MapBranchStack()
376 parsed_event->branch_stack.resize(trimmed_size); in MapBranchStack()
378 struct branch_entry& entry = branch_stack->entries[i]; in MapBranchStack()
[all …]
Dperf_parser.h97 std::vector<BranchEntry> branch_stack; member
221 struct branch_stack* branch_stack,
Dperf_reader.cc326 CHECK_EQ(static_cast<void*>(NULL), sample->branch_stack); in ReadBranchStack()
333 struct branch_stack* branch_stack = in ReadBranchStack() local
334 reinterpret_cast<struct branch_stack*>( in ReadBranchStack()
337 branch_stack->nr = branch_stack_size; in ReadBranchStack()
339 memcpy(&branch_stack->entries[i], array, sizeof(struct branch_entry)); in ReadBranchStack()
342 ByteSwap(&branch_stack->entries[i].from); in ReadBranchStack()
343 ByteSwap(&branch_stack->entries[i].to); in ReadBranchStack()
346 sample->branch_stack = branch_stack; in ReadBranchStack()
606 if (!sample.branch_stack) { in WritePerfSampleToData()
609 *array++ = sample.branch_stack->nr; in WritePerfSampleToData()
[all …]
/system/extras/perfprofd/
Dperf_data_converter.cc63 for (size_t i = 1; i < event.branch_stack.size(); i++) { in RawPerfDataToAndroidPerfProfile()
64 if (dso_name == event.branch_stack[i - 1].to.dso_name()) { in RawPerfDataToAndroidPerfProfile()
65 uint64 start = event.branch_stack[i].to.offset(); in RawPerfDataToAndroidPerfProfile()
66 uint64 end = event.branch_stack[i - 1].from.offset(); in RawPerfDataToAndroidPerfProfile()
67 uint64 to = event.branch_stack[i - 1].to.offset(); in RawPerfDataToAndroidPerfProfile()
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/
Dperf.h156 struct branch_stack { struct
189 u64 branch_stack; member
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/
Dperf.h194 struct branch_stack { struct
230 u64 branch_stack; member
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/
Devent.h131 struct branch_stack * branch_stack; member
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
Devent.h119 struct branch_stack *branch_stack; member