/developtools/profiler/host/smartperf/trace_streamer/src/filter/ |
D | hi_sysevent_measure_filter.h | 37 DataIndex GetOrCreateFilterId(DataIndex eventSource); 38 DataIndex GetOrCreateFilterId(DataIndex eventSource, DataIndex appName); 39 …std::tuple<DataIndex, DataIndex> GetOrCreateFilterId(DataIndex eventSource, DataIndex appName, Dat… 40 DataIndex AppendNewValue(uint64_t serial, 42 DataIndex appNameId, 43 DataIndex key, 46 DataIndex strValue); 70 DataIndex GetOrCreateFilterIdInternal(DataIndex appNameId, DataIndex key); 71 DoubleMap<DataIndex, DataIndex, DataIndex> appKey_; 72 DoubleMap<DataIndex, DataIndex, DataIndex> appName_; [all …]
|
D | slice_filter.h | 34 DataIndex cat; 35 DataIndex name; 53 DataIndex cat, 54 DataIndex nameIndex); 55 …size_t BeginBinder(uint64_t timestamp, uint32_t pid, DataIndex cat, DataIndex nameIndex, ArgsSet a… 58 DataIndex cat, 59 DataIndex nameIndex, 62 …size_t AsyncBinder(uint64_t timestamp, uint32_t pid, DataIndex cat, DataIndex nameIndex, ArgsSet& … 65 DataIndex category = INVALID_UINT64, 66 DataIndex name = INVALID_UINT64, [all …]
|
D | binder_filter.h | 60 const DataIndex binderCatalogId_ = traceDataCache_->GetDataIndex("binder"); 61 const DataIndex replyId_ = traceDataCache_->GetDataIndex("binder reply"); 62 const DataIndex isReplayId_ = traceDataCache_->GetDataIndex("reply transaction?"); 63 const DataIndex flagsId_ = traceDataCache_->GetDataIndex("flags"); 64 const DataIndex transSliceId_ = traceDataCache_->GetDataIndex("binder transaction"); 65 const DataIndex transId_ = traceDataCache_->GetDataIndex("transaction id"); 66 const DataIndex asyncRcvId_ = traceDataCache_->GetDataIndex("binder async rcv"); 67 const DataIndex codeId_ = traceDataCache_->GetDataIndex("code"); 68 const DataIndex callingTid_ = traceDataCache_->GetDataIndex("calling tid"); 69 const DataIndex destNodeId_ = traceDataCache_->GetDataIndex("destination node"); [all …]
|
D | hi_sysevent_measure_filter.cpp | 31 DataIndex HiSysEventMeasureFilter::AppendNewValue(uint64_t serial, in AppendNewValue() 33 DataIndex appNameId, in AppendNewValue() 34 DataIndex key, in AppendNewValue() 37 DataIndex strValue) in AppendNewValue() 71 DataIndex HiSysEventMeasureFilter::GetOrCreateFilterIdInternal(DataIndex appNameId, DataIndex key) in GetOrCreateFilterIdInternal() 81 DataIndex HiSysEventMeasureFilter::GetOrCreateFilterId(DataIndex eventSource) in GetOrCreateFilterId() 83 DataIndex eventSourceFilterId = INVALID_DATAINDEX; in GetOrCreateFilterId() 92 DataIndex HiSysEventMeasureFilter::GetOrCreateFilterId(DataIndex eventSource, DataIndex appName) in GetOrCreateFilterId() 94 DataIndex eventSourceFilterId = INVALID_DATAINDEX; in GetOrCreateFilterId() 95 DataIndex appNameId = INVALID_DATAINDEX; in GetOrCreateFilterId() [all …]
|
D | measure_filter.h | 50 …bool AppendNewMeasureData(uint64_t internalTid, DataIndex nameIndex, uint64_t timestamp, int64_t v… 51 uint32_t GetOrCreateFilterId(uint64_t internalTid, DataIndex nameIndex); 54 void AddCertainFilterId(uint64_t internalTid, DataIndex nameIndex, uint64_t filterId); 55 DoubleMap<uint64_t, DataIndex, uint64_t> tidStreamIdFilterIdMap_; 71 const DataIndex clockSetRateDataIndex_ = traceDataCache_->GetDataIndex("clock_set_rate"); 72 const DataIndex clockEnableDataIndex_ = traceDataCache_->GetDataIndex("clock_enable"); 73 const DataIndex clockDisableDataIndex_ = traceDataCache_->GetDataIndex("clock_disable"); 74 const DataIndex clkSetRateDataIndex_ = traceDataCache_->GetDataIndex("clk_set_rate"); 75 const DataIndex clkEnableDataIndex_ = traceDataCache_->GetDataIndex("clk_enable"); 76 const DataIndex clkDisableDataIndex_ = traceDataCache_->GetDataIndex("clk_disable");
|
D | system_event_measure_filter.h | 38 void AppendNewMeasureData(DataIndex nameIndex, uint64_t timestamp, int64_t value); 39 uint32_t AppendNewMeasureFilter(DataIndex nameIndex); 42 uint32_t GetOrCreateFilterId(DataIndex nameIndex); 43 void AddCertainFilterId(DataIndex nameIndex, uint64_t filterId); 44 std::map<DataIndex, uint64_t> tidStreamIdFilterIdMap_ = {}; 51 const DataIndex sysMemoryFilterId_ = traceDataCache_->GetDataIndex("sys_memory_filter"); 52 … const DataIndex sysVMemoryFilterId_ = traceDataCache_->GetDataIndex("sys_virtual_memory_filter"); 53 …const DataIndex sysEventSourceFilterId_ = traceDataCache_->GetDataIndex("sys_event_source_filter");
|
D | irq_filter.h | 34 void IrqHandlerEntry(int64_t ts, uint32_t cpu, DataIndex nameId); 40 const DataIndex irqId_ = traceDataCache_->GetDataIndex("irq_id"); 41 const DataIndex irqRet_ = traceDataCache_->GetDataIndex("irq_ret"); 42 const DataIndex irqHandled_ = traceDataCache_->GetDataIndex("handled"); 43 const DataIndex irqUnHandled_ = traceDataCache_->GetDataIndex("unhandled"); 44 const DataIndex irqCatalog_ = traceDataCache_->GetDataIndex("irq"); 45 const DataIndex softIrqCatalog_ = traceDataCache_->GetDataIndex("softirq"); 53 std::vector<DataIndex> irqActionNameIds_ = {};
|
D | slice_filter.cpp | 43 DataIndex cat, in BeginSlice() 44 DataIndex nameIndex) in BeginSlice() 59 void SliceFilter::IrqHandlerEntry(uint64_t timestamp, uint32_t cpu, DataIndex catalog, DataIndex na… in IrqHandlerEntry() 91 void SliceFilter::SoftIrqEntry(uint64_t timestamp, uint32_t cpu, DataIndex catalog, DataIndex nameI… in SoftIrqEntry() 141 size_t SliceFilter::AsyncBinder(uint64_t timestamp, uint32_t pid, DataIndex cat, DataIndex nameInde… in AsyncBinder() 235 …eFilter::MatchingIncompleteSliceIndex(const SlicesStack& stack, DataIndex category, DataIndex name) in MatchingIncompleteSliceIndex() 243 const DataIndex& categoryLast = slices->CatsData()[sliceIdx]; in MatchingIncompleteSliceIndex() 247 const DataIndex& nameLast = slices->NamesData()[sliceIdx]; in MatchingIncompleteSliceIndex() 256 …uint64_t timestamp, uint32_t pid, DataIndex cat, DataIndex nameIndex, ArgsSet& args, SliceData sli… in StartSlice() 300 size_t SliceFilter::BeginBinder(uint64_t timestamp, uint32_t pid, DataIndex cat, DataIndex nameInde… in BeginBinder() [all …]
|
D | symbols_filter.h | 31 void RegisterFunc(uint64_t addr, DataIndex funcNameDictIndex); 33 const DataIndex& GetFunc(uint64_t addr) const; 36 std::map<uint64_t, DataIndex> symbolsMap_ = {};
|
D | system_event_measure_filter.cpp | 32 void SystemEventMeasureFilter::AppendNewMeasureData(DataIndex nameIndex, uint64_t timestamp, int64_… in AppendNewMeasureData() 37 uint32_t SystemEventMeasureFilter::AppendNewMeasureFilter(DataIndex nameIndex) in AppendNewMeasureFilter() 41 uint32_t SystemEventMeasureFilter::GetOrCreateFilterId(DataIndex nameIndex) in GetOrCreateFilterId() 54 void SystemEventMeasureFilter::AddCertainFilterId(DataIndex nameIndex, uint64_t filterId) in AddCertainFilterId()
|
D | symbols_filter.cpp | 34 void SymbolsFilter::RegisterFunc(uint64_t addr, DataIndex funcNameDictIndex) in RegisterFunc() 44 const DataIndex& SymbolsFilter::GetFunc(uint64_t addr) const in GetFunc()
|
/developtools/profiler/host/smartperf/trace_streamer/src/parser/htrace_parser/htrace_event_parser/ |
D | htrace_event_parser.h | 118 DataIndex workQueueId_ = 0; 124 const DataIndex signalGenerateId_ = traceDataCache_->GetDataIndex("signal_generate"); 125 const DataIndex signalDeliverId_ = traceDataCache_->GetDataIndex("signal_deliver"); 126 const DataIndex schedWakeupName_ = traceDataCache_->GetDataIndex("sched_wakeup"); 127 const DataIndex schedWakingName_ = traceDataCache_->GetDataIndex("sched_waking"); 128 const DataIndex schedWakeupNewName_ = traceDataCache_->GetDataIndex("sched_wakeup_new"); 129 const DataIndex cpuIdleName_ = traceDataCache_->GetDataIndex("cpu_idle"); 130 const DataIndex cpuFrequencyName_ = traceDataCache_->GetDataIndex("cpu_frequency"); 131 …const DataIndex cpuFrequencyLimitMaxNameId = traceDataCache_->GetDataIndex("cpu_frequency_limits_m… 132 …const DataIndex cpuFrequencyLimitMinNameId = traceDataCache_->GetDataIndex("cpu_frequency_limits_m… [all …]
|
/developtools/profiler/host/smartperf/trace_streamer/src/trace_data/ |
D | trace_stdtype.h | 97 DataIndex nameIndex_ = 0; 164 const std::deque<DataIndex>& StatesData() const in StatesData() 178 std::deque<DataIndex> states_; 236 DataIndex cat, 238 DataIndex name, 245 DataIndex cat, 247 DataIndex name, 285 const std::deque<DataIndex>& CatsData() const; 286 const std::deque<DataIndex>& NamesData() const; 300 …void AppendCallStack(DataIndex cat, DataIndex name, uint8_t depth, std::optional<uint64_t> parentI… [all …]
|
D | trace_stdtype.cpp | 127 DataIndex cat, in AppendInternalAsyncSlice() 129 DataIndex name, in AppendInternalAsyncSlice() 145 DataIndex cat, in AppendInternalSlice() 147 DataIndex name, in AppendInternalSlice() 166 void CallStack::AppendCallStack(DataIndex cat, DataIndex name, uint8_t depth, std::optional<uint64_… in AppendCallStack() 236 const std::deque<DataIndex>& CallStack::CatsData() const in CatsData() 244 const std::deque<DataIndex>& CallStack::NamesData() const in NamesData() 285 size_t ArgSet::AppendNewArg(DataIndex nameId, BaseDataType dataType, int64_t value, size_t argSet) in AppendNewArg() 306 const std::deque<DataIndex>& ArgSet::NamesData() const in NamesData() 311 size_t SysMeasureFilter::AppendNewFilter(uint64_t filterId, DataIndex type, DataIndex nameId) in AppendNewFilter() [all …]
|
D | trace_data_cache_base.cpp | 28 DataIndex TraceDataCacheBase::GetDataIndex(std::string_view str) in GetDataIndex() 33 DataIndex TraceDataCacheBase::GetConstDataIndex(std::string_view str) const in GetConstDataIndex()
|
/developtools/profiler/host/smartperf/trace_streamer/test/unittest/ |
D | slice_filter_test.cpp | 55 DataIndex cat = stream_.traceDataCache_->GetDataIndex("Catalog"); 56 DataIndex splitStrIndex = stream_.traceDataCache_->GetDataIndex("call_function_one"); 75 DataIndex cat = stream_.traceDataCache_->GetDataIndex("Catalog"); 76 DataIndex splitStrIndex = stream_.traceDataCache_->GetDataIndex("call_function_one"); 103 DataIndex cat = stream_.traceDataCache_->GetDataIndex("Catalog"); 104 DataIndex splitStrIndex = stream_.traceDataCache_->GetDataIndex("thread_one_call_function_one"); 160 DataIndex cat = stream_.traceDataCache_->GetDataIndex("Catalog"); 161 DataIndex splitStrIndex = stream_.traceDataCache_->GetDataIndex("thread_one_call_function_one"); 223 DataIndex cat = stream_.traceDataCache_->GetDataIndex("Catalog"); 224 DataIndex splitStrIndex = stream_.traceDataCache_->GetDataIndex("async_call_function_one"); [all …]
|
D | table_test.cpp | 50 DataIndex eventSource = stream_.traceDataCache_->GetDataIndex("eventSource"); 51 DataIndex appName = stream_.traceDataCache_->GetDataIndex("app1"); 70 DataIndex nameId0 = stream_.traceDataCache_->GetDataIndex("args0"); 71 DataIndex nameId1 = stream_.traceDataCache_->GetDataIndex("args1"); 111 DataIndex cat = stream_.traceDataCache_->GetDataIndex("callstack"); 113 DataIndex name = stream_.traceDataCache_->GetDataIndex("name"); 121 DataIndex cat1 = stream_.traceDataCache_->GetDataIndex("callstack1"); 123 DataIndex name1 = stream_.traceDataCache_->GetDataIndex("name1"); 162 DataIndex name = stream_.traceDataCache_->GetDataIndex("name"); 167 DataIndex name1 = stream_.traceDataCache_->GetDataIndex("name1"); [all …]
|
/developtools/profiler/host/smartperf/trace_streamer/src/parser/bytrace_parser/ |
D | bytrace_event_parser.h | 101 const DataIndex schedWakeupName_ = traceDataCache_->GetDataIndex("sched_wakeup"); 102 const DataIndex schedWakingName_ = traceDataCache_->GetDataIndex("sched_waking"); 103 const DataIndex ioWaitId_ = traceDataCache_->GetDataIndex("io_wait"); 104 const DataIndex workQueueId_ = traceDataCache_->GetDataIndex("workqueue"); 105 const DataIndex schedWakeupId_ = traceDataCache_->GetDataIndex("sched_wakeup"); 106 const DataIndex schedBlockedReasonId_ = traceDataCache_->GetDataIndex("sched_blocked_reason"); 107 …const DataIndex cpuFrequencyLimitMaxNameId = traceDataCache_->GetDataIndex("cpu_frequency_limits_m… 108 …const DataIndex cpuFrequencyLimitMinNameId = traceDataCache_->GetDataIndex("cpu_frequency_limits_m…
|
D | bytrace_parser.cpp | 144 void BytraceParser::NoArrayDataParse(JsonData jData, std::vector<size_t> noArrayIndex, DataIndex ev… in NoArrayDataParse() 150 DataIndex keyIndex = eventParser_->traceDataCache_->GetDataIndex(key); in NoArrayDataParse() 153 DataIndex valueIndex = eventParser_->traceDataCache_->GetDataIndex(strValue); in NoArrayDataParse() 157 DataIndex valueIndex = value; in NoArrayDataParse() 165 DataIndex eventSourceIndex, in ArrayDataParse() 172 DataIndex keyIndex = eventParser_->traceDataCache_->GetDataIndex(key); in ArrayDataParse() 175 DataIndex valueIndex = value; in ArrayDataParse() 180 DataIndex valueIndex = eventParser_->traceDataCache_->GetDataIndex(strValue); in ArrayDataParse() 187 void BytraceParser::CommonDataParser(JsonData jData, DataIndex eventSourceIndex) in CommonDataParser() 192 DataIndex keyIndex = eventParser_->traceDataCache_->GetDataIndex(key); in CommonDataParser() [all …]
|
/developtools/profiler/host/smartperf/trace_streamer/src/parser/hiperf_parser/ |
D | perf_data_parser.h | 85 DataIndex configNameIndex_ = 0; 86 DataIndex workloaderIndex_ = 0; 87 DataIndex cmdlineIndex_ = 0; 88 DataIndex runingStateIndex_ = 0; 89 DataIndex suspendStatIndex_ = 0; 90 DataIndex unkonwnStateIndex_ = 0;
|
/developtools/profiler/host/smartperf/trace_streamer/src/parser/htrace_parser/ |
D | htrace_mem_parser.h | 43 std::map<MemInfoType, DataIndex> memNameDictMap_ = {}; 44 std::map<SysMeminfoType, DataIndex> sysMemNameDictMap_ = {}; 45 std::map<SysVMeminfoType, DataIndex> sysVMemNameDictMap_ = {}; 47 const DataIndex zramIndex_ = traceDataCache_->GetDataIndex("sys.mem.zram");
|
D | htrace_hisysevent_parser.cpp | 79 DataIndex eventSourceIndex, in NoArrayDataParse() 86 DataIndex keyIndex = traceDataCache_->GetDataIndex(key); in NoArrayDataParse() 89 DataIndex valueIndex = traceDataCache_->GetDataIndex(strValue); in NoArrayDataParse() 101 DataIndex eventSourceIndex, in ArrayDataParse() 109 DataIndex keyIndex = traceDataCache_->GetDataIndex(key); in ArrayDataParse() 117 DataIndex valueIndex = traceDataCache_->GetDataIndex(strValue); in ArrayDataParse() 124 void HtraceHisyseventParser::CommonDataParser(JsonData jData, DataIndex eventSourceIndex, uint64_t … in CommonDataParser() 129 DataIndex keyIndex = traceDataCache_->GetDataIndex(key); in CommonDataParser() 133 DataIndex valueIndex = traceDataCache_->GetDataIndex(strValue); in CommonDataParser() 187 DataIndex eventSourceIndex = traceDataCache_->GetDataIndex(jData.eventSource); in Parse()
|
D | htrace_hisysevent_parser.h | 50 …NoArrayDataParse(JsonData jData, std::vector<size_t> noArrayIndex, DataIndex eventSourceIndex, uin… 53 DataIndex eventSourceIndex, 56 void CommonDataParser(JsonData jData, DataIndex eventSourceIndex, uint64_t serial);
|
/developtools/profiler/host/smartperf/trace_streamer/src/parser/ebpf_parser/ |
D | ebpf_data_reader.h | 43 const std::map<DataIndex, const ElfEventFixedHeader*>& GetElfPathIndexToElfAddr() const; 44 QuatraMap<uint32_t, uint32_t, uint32_t, uint64_t, DataIndex>& GetTracerEventToStrIndexMap(); 72 std::map<DataIndex, const ElfEventFixedHeader*> elfPathIndexToElfFixedHeaderAddr_ = {}; 75 QuatraMap<uint32_t, uint32_t, uint32_t, uint64_t, DataIndex> tracerEventToStrIndex_;
|
/developtools/profiler/host/smartperf/trace_streamer/src/base/ |
D | args_set.h | 36 void AppendArg(DataIndex dataIndex, BaseDataType datatype, uint64_t value) in AppendArg() 43 std::map<DataIndex, ArgsData> valuesMap_;
|