mirror of
https://gitee.com/openharmony/hiviewdfx_hiview
synced 2024-11-23 17:19:57 +00:00
fix
Signed-off-by: hhl <yinhuiling@huawei.com>
This commit is contained in:
parent
1d793f96f0
commit
0a1cc36709
@ -24,8 +24,8 @@ static constexpr int WAIT_CHILD_PROCESS_COUNT = 300;
|
||||
|
||||
int DumpStacktrace(int fd, int pid);
|
||||
int WriteKernelStackToFd(int originFd, const std::string& msg, int pid);
|
||||
void FormatFileName(std::string& processName);
|
||||
FFRT_TYPE GetFfrtDumpType(int pid);
|
||||
void FormatFileName(std::string& processName);
|
||||
void ReadShellToFile(int fd, const std::string& serviceName, const std::string& cmd, int& count);
|
||||
}
|
||||
} // namespace HiviewDFX
|
||||
|
@ -188,7 +188,7 @@ void EventLogger::StartFfrtDump(std::shared_ptr<SysEvent> event)
|
||||
LogCatcherUtils::WAIT_CHILD_PROCESS_COUNT;
|
||||
if (type == LogCatcherUtils::TOP) {
|
||||
#ifdef WINDOW_MANAGER_ENABLE
|
||||
FileUtil::SaveStringToFd(ffrtFd, "ffrt dump topWindowInfos, process infos:\n");
|
||||
FileUtil::SaveStringToFd(ffrtFd, "dump topWindowInfos, process infos:\n");
|
||||
std::string cmdAms = "--ffrt ";
|
||||
std::string cmdSam = "--ffrt ";
|
||||
int size = static_cast<int>(windowInfos.size());
|
||||
|
@ -66,7 +66,6 @@ private:
|
||||
static const inline std::string DOMAIN_LONGPRESS = "KERNEL_VENDOR";
|
||||
static const inline std::string STRINGID_LONGPRESS = "COM_LONG_PRESS";
|
||||
static const inline std::string LONGPRESS_LEVEL = "CRITICAL";
|
||||
static const inline std::string FFRT_HEADER = "=== ffrt info ===\n";
|
||||
static const inline std::string MONITOR_STACK_FLIE_NAME[] = {
|
||||
"jsstack",
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user