Home
last modified time | relevance | path

Searched refs:protoConfig_ (Results 1 – 20 of 20) sorted by relevance

/developtools/profiler/device/plugins/memory_plugin/src/
Dmemory_data_plugin.cpp90 if (protoConfig_.report_sysmem_mem_info()) { in InitMemVmemFd()
114 if (protoConfig_.report_sysmem_vmem_info()) { in InitMemVmemFd()
148 if (protoConfig_.ParseFromArray(configData, configSize) <= 0) { in Start()
157 if (protoConfig_.sys_meminfo_counters().size() > 0) { in Start()
158 for (int i = 0; i < protoConfig_.sys_meminfo_counters().size(); i++) { in Start()
159 if ((size_t)protoConfig_.sys_meminfo_counters(i) >= meminfoStrList_.size()) { in Start()
163 if (meminfoStrList_[protoConfig_.sys_meminfo_counters(i)]) { in Start()
164 meminfoCounters_.emplace(meminfoStrList_[protoConfig_.sys_meminfo_counters(i)], in Start()
165 protoConfig_.sys_meminfo_counters(i)); in Start()
170 if (protoConfig_.sys_vmeminfo_counters().size() > 0) { in Start()
[all …]
/developtools/profiler/device/plugins/hilog_plugin/src/
Dhilog_plugin.cpp62 if (protoConfig_.need_record()) { in ~HilogPlugin()
73 if (protoConfig_.ParseFromArray(configData, configSize) <= 0) { in Start()
77 if (protoConfig_.need_clear()) { in Start()
96 if (protoConfig_.need_record()) { in Start()
122 if (protoConfig_.need_record()) { in Stop()
149 if (protoConfig_.pid() > 0) { in GetPidCmd()
150 pidCmd = std::to_string(protoConfig_.pid()); in GetPidCmd()
158 switch (protoConfig_.log_level()) { in GetlevelCmd()
180 switch (protoConfig_.device_type()) { in InitHilogCmd()
219 switch (protoConfig_.device_type()) { in ClearHilog()
[all …]
/developtools/profiler/device/plugins/network_plugin/src/
Dnetwork_plugin.cpp36 if (protoConfig_.ParseFromArray(configData, configSize) <= 0) { in Start()
41 for (int i = 0; i < protoConfig_.pid().size(); i++) { in Start()
42 int32_t pid = protoConfig_.pid(i); in Start()
55 if (protoConfig_.test_file() != "") { in Report()
56 file = protoConfig_.test_file(); in Report()
67 if (protoConfig_.pid().size() > 0) { in Report()
68 for (int i = 0; i < protoConfig_.pid().size(); i++) { in Report()
70 int32_t pid = protoConfig_.pid(i); in Report()
86 } else if (protoConfig_.test_file() != "") { // test data in Report()
/developtools/profiler/device/plugins/diskio_plugin/src/
Ddiskio_data_plugin.cpp55 if (protoConfig_.ParseFromArray(configData, configSize) <= 0) { in Start()
60 if (protoConfig_.report_io_stats()) { in Start()
61 ioEntry_ = std::make_shared<IoStats>(protoConfig_.report_io_stats()); in Start()
74 if (protoConfig_.report_io_stats() && ioEntry_ != nullptr) { in Report()
/developtools/profiler/device/plugins/sample_plugin/src/
Dsample_plugin.cpp45 if (protoConfig_.ParseFromArray(configData, configSize) <= 0) { in Start()
49 HILOG_INFO(LOG_CORE, "%s:pid = %d", __func__, protoConfig_.pid()); in Start()
/developtools/profiler/device/plugins/hilog_plugin/include/
Dhilog_plugin.h61 protoConfig_ = config; in SetConfig()
70 HilogConfig protoConfig_;
/developtools/profiler/device/plugins/sample_plugin/include/
Dsample_plugin.h33 SampleConfig protoConfig_;
/developtools/profiler/device/plugins/stream_plugin/include/
Dstream_plugin.h41 StreamConfig protoConfig_;
/developtools/profiler/device/plugins/cpu_plugin/src/
Dcpu_data_plugin.cpp77 if (protoConfig_.ParseFromArray(configData, configSize) <= 0) { in Start()
82 if (protoConfig_.pid() > 0) { in Start()
83 pid_ = protoConfig_.pid(); in Start()
84 } else if (protoConfig_.report_process_info()) { in Start()
104 if (protoConfig_.report_process_info()) { in Report()
427 … if ((protoConfig_.report_process_info() && prevCpuTimeData_.systemBootTime != 0) || isTest) { in WriteSystemCpuUsage()
445 if (pid_ < 0 && protoConfig_.report_process_info()) { in WriteSystemCpuUsage()
/developtools/profiler/device/plugins/hidump_plugin/include/
Dhidump_plugin.h54 HidumpConfig protoConfig_; variable
/developtools/profiler/device/plugins/hisysevent_plugin/include/
Dhisysevent_plugin.h57 HisyseventConfig protoConfig_; variable
/developtools/profiler/device/plugins/diskio_plugin/include/
Ddiskio_data_plugin.h69 DiskioConfig protoConfig_; variable
/developtools/profiler/device/plugins/process_plugin/src/
Dprocess_data_plugin.cpp56 if (protoConfig_.ParseFromArray(configData, configSize) <= 0) { in Start()
70 if (protoConfig_.report_process_tree()) { in Report()
262 if (protoConfig_.report_cpu()) { in WriteProcessInfo()
269 if (protoConfig_.report_diskio()) { in WriteProcessInfo()
273 if (protoConfig_.report_pss()) { in WriteProcessInfo()
/developtools/profiler/device/plugins/stream_plugin/src/
Dstream_plugin.cpp29 if (protoConfig_.ParseFromArray(configData, configSize) <= 0) { in Start()
/developtools/profiler/device/plugins/hidump_plugin/src/
Dhidump_plugin.cpp67 if (protoConfig_.ParseFromArray(configData, configSize) <= 0) { in Start()
251 protoConfig_ = config; in SetConfig()
/developtools/profiler/device/plugins/network_plugin/include/
Dnetwork_plugin.h106 NetworkConfig protoConfig_;
/developtools/profiler/device/plugins/hisysevent_plugin/src/
Dhisysevent_plugin.cpp80 if (protoConfig_.ParseFromArray(configData, configSize) <= 0) { in Start()
85 …HILOG_DEBUG(LOG_CORE, "NOTE configData ParseFromArray sucessed,sourse data:%s", protoConfig_.msg()… in Start()
/developtools/profiler/device/plugins/process_plugin/include/
Dprocess_data_plugin.h84 ProcessConfig protoConfig_; variable
/developtools/profiler/device/plugins/cpu_plugin/include/
Dcpu_data_plugin.h107 CpuConfig protoConfig_;
/developtools/profiler/device/plugins/memory_plugin/include/
Dmemory_data_plugin.h281 MemoryConfig protoConfig_;