Home
last modified time | relevance | path

Searched refs:LogCatcherUtils (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
H A Dopen_stacktrace_catcher.cpp71 LogCatcherUtils::DumpStacktrace(fd, pid_); in Catch()
102 int ret = LogCatcherUtils::DumpStacktrace(newFd, pid_); in ForkAndDumpStackTrace()
H A Dpeer_binder_catcher.cpp334 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 Devent_logger.cpp187 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()
234LogCatcherUtils::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 Devent_logger_catcher_test.cpp676 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 Dlog_catcher_utils.h21 namespace LogCatcherUtils {
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventlogger/log_catcher/impl/
H A Dlog_catcher_utils.cpp34 namespace LogCatcherUtils { namespace