Searched refs:ShellCatcher (Results 1 - 4 of 4) sorted by relevance
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/ |
H A D | event_log_task.cpp | 309 auto capture = std::make_shared<ShellCatcher>(); in CpuUsageCapture() 310 capture->Initialize("hidumper --cpuusage", ShellCatcher::CATCHER_CPU, pid_); in CpuUsageCapture() 316 auto capture = std::make_shared<ShellCatcher>(); in WMSUsageCapture() 317 capture->Initialize("hidumper -s WindowManagerService -a -a", ShellCatcher::CATCHER_WMS, pid_); in WMSUsageCapture() 323 auto capture = std::make_shared<ShellCatcher>(); in AMSUsageCapture() 324 capture->Initialize("hidumper -s AbilityManagerService -a -a", ShellCatcher::CATCHER_AMS, pid_); in AMSUsageCapture() 330 auto capture = std::make_shared<ShellCatcher>(); in PMSUsageCapture() 331 capture->Initialize("hidumper -s PowerManagerService -a -s", ShellCatcher::CATCHER_PMS, pid_); in PMSUsageCapture() 337 auto capture = std::make_shared<ShellCatcher>(); in DPMSUsageCapture() 338 capture->Initialize("hidumper -s DisplayPowerManagerService", ShellCatcher in DPMSUsageCapture() [all...] |
H A D | shell_catcher.cpp | 26 DEFINE_LOG_LABEL(0xD002D01, "EventLogger-ShellCatcher");
27 ShellCatcher::ShellCatcher() : EventLogCatcher()
in ShellCatcher() function in OHOS::HiviewDFX::ShellCatcher 29 name_ = "ShellCatcher";
in ShellCatcher() 32 bool ShellCatcher::Initialize(const std::string& cmd, int type, int catcherPid)
in Initialize() 41 void ShellCatcher::SetEvent(std::shared_ptr<SysEvent> event)
in SetEvent() 46 int ShellCatcher::DoChildProcesscatcher(int writeFd)
in DoChildProcesscatcher() 81 int ShellCatcher::CaDoInChildProcesscatcher(int writeFd)
in CaDoInChildProcesscatcher() 128 void ShellCatcher::DoChildProcess(int writeFd)
in DoChildProcess() 172 void ShellCatcher [all...] |
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/include/ |
H A D | shell_catcher.h | 26 class ShellCatcher : public EventLogCatcher {
class 28 explicit ShellCatcher();
29 ~ShellCatcher() override {};
|
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/test/unittest/common/ |
H A D | event_logger_catcher_test.cpp | 597 auto shellCatcher = std::make_shared<ShellCatcher>(); in HWTEST_F() 600 bool res = shellCatcher->Initialize("", ShellCatcher::CATCHER_WMS, pid); in HWTEST_F() 607 shellCatcher->Initialize(cmd, ShellCatcher::CATCHER_WMS, pid); in HWTEST_F() 610 shellCatcher->Initialize(cmd, ShellCatcher::CATCHER_AMS, pid); in HWTEST_F() 613 shellCatcher->Initialize(cmd, ShellCatcher::CATCHER_CPU, pid); in HWTEST_F() 616 shellCatcher->Initialize(cmd, ShellCatcher::CATCHER_PMS, pid); in HWTEST_F() 618 shellCatcher->Initialize(cmd, ShellCatcher::CATCHER_DPMS, pid); in HWTEST_F() 621 shellCatcher->Initialize(cmd, ShellCatcher::CATCHER_RS, pid); in HWTEST_F() 624 shellCatcher->Initialize(cmd, ShellCatcher::CATCHER_HILOG, 0); in HWTEST_F() 627 shellCatcher->Initialize(cmd, ShellCatcher in HWTEST_F() [all...] |
Completed in 3 milliseconds