Searched refs:LogCatcherUtils (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/ |
H A D | open_stacktrace_catcher.cpp | 71 LogCatcherUtils::DumpStacktrace(fd, pid_); in Catch() 102 int ret = LogCatcherUtils::DumpStacktrace(newFd, pid_); in ForkAndDumpStackTrace()
|
H A D | peer_binder_catcher.cpp | 334 std::string serviceName = (LogCatcherUtils::GetFfrtDumpType(pid) == LogCatcherUtils::APP) ? in CatcherFfrtStack() 336 int count = LogCatcherUtils::WAIT_CHILD_PROCESS_COUNT; in CatcherFfrtStack() 337 LogCatcherUtils::ReadShellToFile(fd, serviceName, "--ffrt " + std::to_string(pid), count); in CatcherFfrtStack() 346 LogCatcherUtils::DumpStacktrace(fd, pid); in CatcherStacktrace()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/ |
H A D | event_logger.cpp | 187 LogCatcherUtils::FFRT_TYPE type = LogCatcherUtils::TOP; in StartFfrtDump() 202 type = LogCatcherUtils::GetFfrtDumpType(pid); in StartFfrtDump() 212 …int count = (type == LogCatcherUtils::TOP) ? LogCatcherUtils::WAIT_CHILD_PROCESS_COUNT * DUMP_TIME… in StartFfrtDump() 213 LogCatcherUtils::WAIT_CHILD_PROCESS_COUNT; in StartFfrtDump() 214 if (type == LogCatcherUtils::TOP) { in StartFfrtDump() 226 LogCatcherUtils::ReadShellToFile(ffrtFd, "ApplicationManagerService", cmdAms, count); in StartFfrtDump() 227 if (count > LogCatcherUtils::WAIT_CHILD_PROCESS_COUNT / DUMP_TIME_RATIO) { in StartFfrtDump() 228 LogCatcherUtils::ReadShellToFile(ffrtFd, "SystemAbilityManager", cmdSam, count); in StartFfrtDump() 233 …std::string serviceName = (type == LogCatcherUtils::APP) ? "ApplicationManagerService" : "SystemAb… in StartFfrtDump() 234 … LogCatcherUtils::ReadShellToFile(ffrtFd, serviceName, "--ffrt " + std::to_string(pid), count); in StartFfrtDump()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/test/unittest/common/ |
H A D | event_logger_catcher_test.cpp | 676 int ret = LogCatcherUtils::DumpStacktrace(-1, pid); 678 LogCatcherUtils::DumpStacktrace(1, pid); 679 LogCatcherUtils::DumpStacktrace(2, pid); 680 ret = LogCatcherUtils::WriteKernelStackToFd(2, "Test", -1); 682 ret = LogCatcherUtils::WriteKernelStackToFd(200, "Test\n", getprocpid()); 684 ret = LogCatcherUtils::WriteKernelStackToFd(200, "Test\n", getprocpid());
|
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventlogger/log_catcher/include/ |
H A D | log_catcher_utils.h | 21 namespace LogCatcherUtils {
|
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventlogger/log_catcher/impl/ |
H A D | log_catcher_utils.cpp | 34 namespace LogCatcherUtils { namespace
|