/developtools/profiler/host/smartperf/trace_streamer/src/filter/ |
D | native_hook_filter.h | 36 NativeHookFrameInfo(uint64_t ip, in NativeHookFrameInfo() 37 uint64_t sp, in NativeHookFrameInfo() 38 uint64_t symbolIndex, in NativeHookFrameInfo() 39 uint64_t filePathIndex, in NativeHookFrameInfo() 40 uint64_t offset, in NativeHookFrameInfo() 41 uint64_t symbolOffset) in NativeHookFrameInfo() 51 uint64_t ip_; 52 uint64_t sp_; 53 uint64_t symbolIndex_; 54 uint64_t filePathIndex_; [all …]
|
D | cpu_filter.h | 41 void InsertSwitchEvent(uint64_t ts, 42 uint64_t cpu, 44 uint64_t prevPior, 45 uint64_t prevState, 47 uint64_t nextPior, 49 bool InsertBlockedReasonEvent(uint64_t ts, 50 uint64_t cpu, 55 void InsertWakeupEvent(uint64_t ts, uint32_t internalTid, bool isWaking = false); 56 bool InsertProcessExitEvent(uint64_t ts, uint64_t cpu, uint32_t pid); 57 bool InsertProcessFreeEvent(uint64_t ts, uint32_t pid); [all …]
|
D | frame_filter.h | 29 void BeginVsyncEvent(uint64_t ts, 32 uint64_t expectStart, 33 uint64_t expectEnd, 36 bool MarkRSOnvsyncEvent(uint64_t ts, uint32_t itid); 37 bool EndOnVsyncEvent(uint64_t ts, uint32_t itid); 38 bool BeginRSTransactionData(uint64_t ts, uint32_t itid, uint32_t franeNum); 43 …bool BeginProcessCommandUni(uint64_t ts, uint32_t itid, const std::vector<FrameMap>& frame, uint32… 44 bool EndVsyncEvent(uint64_t ts, uint32_t itid); 45 bool StartFrameQueue(uint64_t ts, uint32_t itid); 46 bool EndFrameQueue(uint64_t ts, uint32_t itid); [all …]
|
D | perf_data_filter.h | 35 size_t AppendPerfFiles(uint64_t fileId, uint32_t serial, DataIndex symbols, DataIndex filePath); 36 size_t AppendPerfCallChain(uint64_t sampleId, 38 uint64_t vaddrInFile, 39 uint64_t fileId, 40 uint64_t symbolId); 45 DoubleMap<uint64_t, uint32_t, uint64_t> fileIdToRowInFileTable_; 46 DoubleMap<uint64_t, uint64_t, uint64_t> fileIdToRowInChainTable_; 47 std::set<uint64_t> fileIds_; 48 std::map<uint64_t, uint64_t> fileIdToRow_{};
|
D | slice_filter.h | 31 uint64_t timeStamp; 37 uint64_t index; 41 uint64_t timeStamp; 50 uint64_t timeStamp, 55 …size_t BeginBinder(uint64_t timeStamp, uint32_t pid, DataIndex cat, DataIndex nameIndex, ArgsSet a… 56 size_t StartSlice(uint64_t timeStamp, 62 …size_t AsyncBinder(uint64_t timeStamp, uint32_t pid, DataIndex cat, DataIndex nameIndex, ArgsSet& … 63 size_t EndBinder(uint64_t timeStamp, 68 size_t CompleteSlice(uint64_t timeStamp, 74 size_t EndSlice(uint64_t timeStamp, [all …]
|
D | offline_symbolization_filter.h | 39 uint64_t ip_; 40 uint64_t symbolIndex_; 41 uint64_t offset_; 42 uint64_t symbolOffset_; 43 uint64_t symVaddr_; 58 std::shared_ptr<FrameInfo> OfflineSymbolization(uint64_t ip); 60 const std::shared_ptr<std::vector<uint64_t>> ips); 61 DataIndex OfflineSymbolization(uint64_t symVaddr, DataIndex filePathIndex); 65 std::map<uint64_t, std::shared_ptr<ProtoReader::MapsInfo_Reader>> startAddrToMapsInfoMap_ = {}; 68 DoubleMap<uint32_t, uint64_t, const uint8_t*> filePathIdAndStValueToSymAddr_; [all …]
|
/developtools/smartperf_host/trace_streamer/src/filter/ |
D | native_hook_filter.h | 36 NativeHookFrameInfo(uint64_t ip, in NativeHookFrameInfo() 37 uint64_t sp, in NativeHookFrameInfo() 38 uint64_t symbolIndex, in NativeHookFrameInfo() 39 uint64_t filePathIndex, in NativeHookFrameInfo() 40 uint64_t offset, in NativeHookFrameInfo() 41 uint64_t symbolOffset) in NativeHookFrameInfo() 51 uint64_t ip_; 52 uint64_t sp_; 53 uint64_t symbolIndex_; 54 uint64_t filePathIndex_; [all …]
|
D | cpu_filter.h | 41 void InsertSwitchEvent(uint64_t ts, 42 uint64_t cpu, 44 uint64_t prevPior, 45 uint64_t prevState, 47 uint64_t nextPior, 49 bool InsertBlockedReasonEvent(uint64_t ts, 50 uint64_t cpu, 55 void InsertWakeupEvent(uint64_t ts, uint32_t internalTid, bool isWaking = false); 56 bool InsertProcessExitEvent(uint64_t ts, uint64_t cpu, uint32_t pid); 57 bool InsertProcessFreeEvent(uint64_t ts, uint32_t pid); [all …]
|
D | frame_filter.h | 29 void BeginVsyncEvent(uint64_t ts, 32 uint64_t expectStart, 33 uint64_t expectEnd, 36 bool MarkRSOnvsyncEvent(uint64_t ts, uint32_t itid); 37 bool EndOnVsyncEvent(uint64_t ts, uint32_t itid); 38 bool BeginRSTransactionData(uint64_t ts, uint32_t itid, uint32_t franeNum); 43 …bool BeginProcessCommandUni(uint64_t ts, uint32_t itid, const std::vector<FrameMap>& frame, uint32… 44 bool EndVsyncEvent(uint64_t ts, uint32_t itid); 45 bool StartFrameQueue(uint64_t ts, uint32_t itid); 46 bool EndFrameQueue(uint64_t ts, uint32_t itid); [all …]
|
D | perf_data_filter.h | 35 size_t AppendPerfFiles(uint64_t fileId, uint32_t serial, DataIndex symbols, DataIndex filePath); 36 size_t AppendPerfCallChain(uint64_t sampleId, 38 uint64_t vaddrInFile, 39 uint64_t fileId, 40 uint64_t symbolId); 45 DoubleMap<uint64_t, uint32_t, uint64_t> fileIdToRowInFileTable_; 46 DoubleMap<uint64_t, uint64_t, uint64_t> fileIdToRowInChainTable_; 47 std::set<uint64_t> fileIds_; 48 std::map<uint64_t, uint64_t> fileIdToRow_{};
|
D | slice_filter.h | 31 uint64_t timeStamp; 37 uint64_t index; 41 uint64_t timeStamp; 50 uint64_t timeStamp, 55 …size_t BeginBinder(uint64_t timeStamp, uint32_t pid, DataIndex cat, DataIndex nameIndex, ArgsSet a… 56 size_t StartSlice(uint64_t timeStamp, 62 …size_t AsyncBinder(uint64_t timeStamp, uint32_t pid, DataIndex cat, DataIndex nameIndex, ArgsSet& … 63 size_t EndBinder(uint64_t timeStamp, 68 size_t CompleteSlice(uint64_t timeStamp, 74 size_t EndSlice(uint64_t timeStamp, [all …]
|
D | offline_symbolization_filter.h | 39 uint64_t ip_; 40 uint64_t symbolIndex_; 41 uint64_t offset_; 42 uint64_t symbolOffset_; 43 uint64_t symVaddr_; 58 std::shared_ptr<FrameInfo> OfflineSymbolization(uint64_t ip); 60 const std::shared_ptr<std::vector<uint64_t>> ips); 61 DataIndex OfflineSymbolization(uint64_t symVaddr, DataIndex filePathIndex); 65 std::map<uint64_t, std::shared_ptr<ProtoReader::MapsInfo_Reader>> startAddrToMapsInfoMap_ = {}; 68 DoubleMap<uint32_t, uint64_t, const uint8_t*> filePathIdAndStValueToSymAddr_; [all …]
|
/developtools/smartperf_host/trace_streamer/test/unittest/ |
D | clock_filter_test.cpp | 49 uint64_t tsBoottime = 100; 50 uint64_t tsMonotonicTime = 200; 56 uint64_t time1 = 150; 57 uint64_t expectTime1 = 250; 69 uint64_t tsBoottime = 100; 70 uint64_t tsMonotonicTime = 200; 76 uint64_t time1 = 150; 77 uint64_t expectTime1 = 250; 79 uint64_t time2 = 200; 80 uint64_t expectTime2 = 300; [all …]
|
D | frame_filter_test.cpp | 51 const uint64_t START_TS = 1; 54 const uint64_t EXPECTED_START = 5; 55 const uint64_t EXPECTED_END = 10; 58 uint64_t vsyncStartTs = 1; 61 const uint64_t END_TS = 10; 83 const uint64_t START_TS = 1; 86 const uint64_t EXPECTED_START = 5; 87 const uint64_t EXPECTED_END = 10; 90 uint64_t vsyncStartTs = 1; 93 const uint64_t FRAME_TS = 5; [all …]
|
D | htrace_network_parser_test.cpp | 54 uint64_t ts = 100; 74 uint64_t ts = 100; 75 const uint64_t DURS = 1999632780; 76 const uint64_t TX = 712924; 77 const uint64_t RX = 13535014; 78 const uint64_t PACKETIN = 11431; 79 const uint64_t PACKETOUT = 7373; 108 uint64_t ts = 100; 111 const uint64_t DURS_01 = 1999632781; 112 const uint64_t TX_01 = 712921; [all …]
|
/developtools/profiler/device/plugins/diskio_plugin/include/ |
D | io_stats.h | 37 uint64_t user_; 38 uint64_t nice_; 39 uint64_t system_; 40 uint64_t idle_; 41 uint64_t iowait_; 42 uint64_t steal_; 43 uint64_t hardirq_; 44 uint64_t softirq_; 45 uint64_t guest_; 46 uint64_t guestNice_; [all …]
|
/developtools/smartperf_host/trace_streamer/src/base/ |
D | htrace_plugin_time_parser.h | 26 void UpdatePluginTimeRange(ClockId clockId, uint64_t asyncTimestamp, uint64_t syncTimestamp); 27 uint64_t GetPluginStartTime() const; 28 uint64_t GetPluginEndTime() const; 29 uint64_t MinTs() const in MinTs() 33 uint64_t MaxTs() const in MaxTs() 39 uint64_t syncHtracePluginStartTime_ = std::numeric_limits<uint64_t>::max(); 40 uint64_t syncHtracePluginEndTime_ = 0; 41 uint64_t asyncHtracePluginStartTime_ = std::numeric_limits<uint64_t>::max(); 42 uint64_t asyncHtracePluginEndTime_ = 0; 43 uint64_t minTs_ = std::numeric_limits<uint64_t>::max(); [all …]
|
/developtools/profiler/host/smartperf/trace_streamer/src/base/ |
D | htrace_plugin_time_parser.h | 26 void UpdatePluginTimeRange(ClockId clockId, uint64_t asyncTimestamp, uint64_t syncTimestamp); 27 uint64_t GetPluginStartTime() const; 28 uint64_t GetPluginEndTime() const; 29 uint64_t MinTs() in MinTs() 33 uint64_t MaxTs() const in MaxTs() 39 uint64_t syncHtracePluginStartTime_ = std::numeric_limits<uint64_t>::max(); 40 uint64_t syncHtracePluginEndTime_ = 0; 41 uint64_t asyncHtracePluginStartTime_ = std::numeric_limits<uint64_t>::max(); 42 uint64_t asyncHtracePluginEndTime_ = 0; 43 uint64_t minTs_ = std::numeric_limits<uint64_t>::max(); [all …]
|
/developtools/profiler/device/plugins/native_daemon/include/ |
D | mem_map_item.h | 26 …MemMaps(uint64_t begin, uint64_t end, uint64_t offset, uint32_t type, uint32_t filePathId, const s… in MemMaps() 31 uint64_t soBegin_; 32 uint64_t soEnd_; 40 …MemMapItem(uint64_t begin, uint64_t end, uint16_t type, uint64_t offset, std::string_view nameHold) in MemMapItem() 42 uint64_t begin_ {0}; 43 uint64_t end_ {0}; 46 uint64_t pageoffset_ {0}; 49 uint64_t FileOffsetFromAddr(uint64_t addr) const in FileOffsetFromAddr() 62 uint64_t begin_ = 0; 63 uint64_t end_ = 0; [all …]
|
/developtools/smartperf_host/trace_streamer/src/trace_data/ |
D | trace_stdtype.h | 50 const std::deque<uint64_t>& IdsData() const in IdsData() 54 const std::deque<uint64_t>& TimeStampData() const in TimeStampData() 71 std::deque<uint64_t> timeStamps_ = {}; 72 std::deque<uint64_t> ids_ = {}; 77 const std::deque<uint64_t>& DursData() const in DursData() 91 void SetDur(uint64_t index, uint64_t dur); 94 std::deque<uint64_t> durs_; 197 size_t AppendSchedSlice(uint64_t ts, 198 uint64_t dur, 199 uint64_t cpu, [all …]
|
/developtools/profiler/host/smartperf/trace_streamer/src/trace_data/ |
D | trace_stdtype.h | 46 const std::deque<uint64_t>& IdsData() const in IdsData() 50 const std::deque<uint64_t>& TimeStampData() const in TimeStampData() 67 std::deque<uint64_t> timeStamps_ = {}; 68 std::deque<uint64_t> ids_ = {}; 73 const std::deque<uint64_t>& DursData() const in DursData() 87 void SetDur(uint64_t index, uint64_t dur); 90 std::deque<uint64_t> durs_; 193 size_t AppendSchedSlice(uint64_t ts, 194 uint64_t dur, 195 uint64_t cpu, [all …]
|
/developtools/profiler/host/smartperf/trace_streamer/src/parser/ebpf_parser/ |
D | ebpf_data_reader.h | 36 bool InitEbpfData(const std::deque<uint8_t>& dequeBuffer, uint64_t size); 38 const std::multimap<uint64_t, const FsFixedHeader*>& GetFileSystemEventMap() const; 39 const std::multimap<uint64_t, const PagedMemoryFixedHeader*>& GetPagedMemoryMap() const; 40 const std::multimap<uint64_t, const BIOFixedHeader*>& GetBIOSampleMap() const; 41 … const DoubleMap<uint32_t, uint64_t, const MapsFixedHeader*>& GetPidAndStartAddrToMapsAddr() const; 42 …const DoubleMap<const ElfEventFixedHeader*, uint64_t, const uint8_t*>& GetElfAddrAndStartValueToSy… 44 QuatraMap<uint32_t, uint32_t, uint32_t, uint64_t, DataIndex>& GetTracerEventToStrIndexMap(); 45 SymbolAndFilePathIndex GetSymbolNameIndexFromElfSym(uint64_t ip); 68 uint64_t maxKernelAddr_ = 0; 69 uint64_t minKernelAddr_ = std::numeric_limits<uint64_t>::max(); [all …]
|
/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/ |
D | ebpf_data_reader.h | 36 bool InitEbpfData(const std::deque<uint8_t>& dequeBuffer, uint64_t size); 38 const std::multimap<uint64_t, const FsFixedHeader*>& GetFileSystemEventMap() const; 39 const std::multimap<uint64_t, const PagedMemoryFixedHeader*>& GetPagedMemoryMap() const; 40 const std::multimap<uint64_t, const BIOFixedHeader*>& GetBIOSampleMap() const; 41 … const DoubleMap<uint32_t, uint64_t, const MapsFixedHeader*>& GetPidAndStartAddrToMapsAddr() const; 42 …const DoubleMap<const ElfEventFixedHeader*, uint64_t, const uint8_t*>& GetElfAddrAndStartValueToSy… 44 QuatraMap<uint32_t, uint32_t, uint32_t, uint64_t, DataIndex>& GetTracerEventToStrIndexMap(); 45 SymbolAndFilePathIndex GetSymbolNameIndexFromElfSym(uint64_t ip); 68 uint64_t maxKernelAddr_ = 0; 69 uint64_t minKernelAddr_ = std::numeric_limits<uint64_t>::max(); [all …]
|
/developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/ |
D | htrace_process_parser.h | 31 void Parse(ProtoReader::BytesView tracePacket, uint64_t ts); 34 DiskioInfo(uint64_t rchar, in DiskioInfo() 35 uint64_t wchar, in DiskioInfo() 36 uint64_t syscr, in DiskioInfo() 37 uint64_t syscw, in DiskioInfo() 38 uint64_t rbytes, in DiskioInfo() 39 uint64_t wbytes, in DiskioInfo() 40 uint64_t cancelled_wbytes) in DiskioInfo() 50 uint64_t rchar_; 51 uint64_t wchar_; [all …]
|
/developtools/profiler/host/smartperf/trace_streamer/src/parser/htrace_pbreader_parser/ |
D | htrace_process_parser.h | 31 void Parse(ProtoReader::BytesView tracePacket, uint64_t ts); 34 DiskioInfo(uint64_t rchar, in DiskioInfo() 35 uint64_t wchar, in DiskioInfo() 36 uint64_t syscr, in DiskioInfo() 37 uint64_t syscw, in DiskioInfo() 38 uint64_t rbytes, in DiskioInfo() 39 uint64_t wbytes, in DiskioInfo() 40 uint64_t cancelled_wbytes) in DiskioInfo() 50 uint64_t rchar_; 51 uint64_t wchar_; [all …]
|