Searched refs:SampleEntry (Results 1 – 3 of 3) sorted by relevance
/system/extras/simpleperf/ |
D | sample_tree_test.cpp | 26 struct SampleEntry { struct 34 SampleEntry(int pid, int tid, const char* thread_comm, const std::string& dso_name, in SampleEntry() function 49 class TestSampleComparator : public SampleComparator<SampleEntry> { 60 class TestSampleTreeBuilder : public SampleTreeBuilder<SampleEntry, int> { 68 InsertSample(std::unique_ptr<SampleEntry>( in AddSample() 69 new SampleEntry(pid, tid, thread->comm, map->dso->Path(), map->start_addr))); in AddSample() 73 SampleEntry* CreateSample(const SampleRecord&, bool, int*) override { return nullptr; } in CreateSample() 74 SampleEntry* CreateBranchSample(const SampleRecord&, const BranchStackItemType&) override { in CreateBranchSample() 77 SampleEntry* CreateCallChainSample(const ThreadEntry*, const SampleEntry*, uint64_t, bool, in CreateCallChainSample() argument 78 const std::vector<SampleEntry*>&, const int&) override { in CreateCallChainSample() argument [all …]
|
D | cmd_report.cpp | 65 struct SampleEntry { struct 80 CallChainRoot<SampleEntry> callchain; argument 86 SampleEntry(uint64_t time, uint64_t period, uint64_t accumulated_period, uint64_t sample_count, in SampleEntry() argument 105 SampleEntry(SampleEntry&&) = default; 106 SampleEntry(SampleEntry&) = delete; 112 std::vector<SampleEntry*> samples; 122 static std::string DisplayEventName(const SampleEntry*, const SampleTree* info) { in DisplayEventName() argument 131 class ReportCmdSampleTreeBuilder : public SampleTreeBuilder<SampleEntry, AccInfo> { 133 ReportCmdSampleTreeBuilder(const SampleComparator<SampleEntry>& sample_comparator, in ReportCmdSampleTreeBuilder() 177 SampleEntry* CreateSample(const SampleRecord& r, bool in_kernel, AccInfo* acc_info) override { in CreateSample() [all …]
|
D | cmd_report_sample.cpp | 124 struct SampleEntry { struct 153 std::queue<SampleEntry> stack_gap_samples; 210 bool ProcessSample(const ThreadEntry& thread, SampleEntry& sample); 211 bool ReportSample(const ThreadId& thread_id, const SampleEntry& sample, size_t stack_gap_length); 213 bool PrintSampleInProtobuf(const ThreadId& thread_id, const SampleEntry& sample); 221 bool PrintSample(const ThreadId& thread_id, const SampleEntry& sample); 720 SampleEntry sample; in ProcessSampleRecord() 734 bool ReportSampleCommand::ProcessSample(const ThreadEntry& thread, SampleEntry& sample) { in ProcessSample() 758 bool ReportSampleCommand::ReportSample(const ThreadId& thread_id, const SampleEntry& sample, in ReportSample() 787 const SampleEntry& sample) { in PrintSampleInProtobuf() [all …]
|