修改tar文件路径为 user/log 1547/1 1547/head
authorpenglei <1624952103@qq.com>
Fri, 20 Dec 2024 12:52:47 +0000 (20:52 +0800)
committerpenglei <1624952103@qq.com>
Fri, 20 Dec 2024 12:52:47 +0000 (20:52 +0800)
code/sdk/application/wearable/service/msg_center/src/notify/debug_output_notification/debug_output_notification.cpp
code/sdk/drivers/peripheral/utils/custom_utils.h

index 81bee57..414dce2 100644 (file)
@@ -390,7 +390,7 @@ namespace OHOS
     }
 
     // 获取死机列表
-    static const char *SHUTDOWN_PATH = "/user/system/tar";
+    static const char *SHUTDOWN_PATH = EXC_TAR_PATH;
     std::string DebugOutputViewEventListener::get_shutdown_info()
     {
         std::ostringstream oss;
index 13df29f..8e47bde 100644 (file)
@@ -20,7 +20,7 @@ extern "C" {
 #include "pdu.h"
 
 #ifdef  SINGLE_USER_PARTITION
-#define EXC_TAR_PATH "/user/system/tar"
+#define EXC_TAR_PATH "/user/log"
 #else
 #define EXC_TAR_PATH "/user/tar"
 #endif