From b7447e41c0f31196e1560c0a70fdd79ecc04430b Mon Sep 17 00:00:00 2001 From: "dongbosi@huawei.com" Date: Fri, 22 Mar 2024 14:13:48 +0800 Subject: [PATCH 1/2] add error code Signed-off-by: dongbosi@huawei.com --- hiviewdfx/hidebug/include/hidebug/hidebug_type.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hiviewdfx/hidebug/include/hidebug/hidebug_type.h b/hiviewdfx/hidebug/include/hidebug/hidebug_type.h index 1c442c4ad..c2f51a25a 100644 --- a/hiviewdfx/hidebug/include/hidebug/hidebug_type.h +++ b/hiviewdfx/hidebug/include/hidebug/hidebug_type.h @@ -57,7 +57,9 @@ typedef enum HiDebug_ErrorCode { /** No write permission on the file */ HIDEBUG_NO_PERMISSION = 11400103, /** The status of the trace is abnormal */ - HIDEBUG_TRACE_ABNORMAL = 11400104 + HIDEBUG_TRACE_ABNORMAL = 11400104, + /** No trace captured running */ + HIDEBUG_NO_TRACE_CAPTURED_RUNNING = 11400105 } HiDebug_ErrorCode; /** -- Gitee From ee65ab0177ebc3ccd40e039caac53fc8673d6fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=8D=9A=E6=96=AF?= Date: Tue, 9 Apr 2024 02:43:13 +0000 Subject: [PATCH 2/2] update hiviewdfx/hidebug/include/hidebug/hidebug_type.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 董博斯 --- hiviewdfx/hidebug/include/hidebug/hidebug_type.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hiviewdfx/hidebug/include/hidebug/hidebug_type.h b/hiviewdfx/hidebug/include/hidebug/hidebug_type.h index c2f51a25a..af7fc224d 100644 --- a/hiviewdfx/hidebug/include/hidebug/hidebug_type.h +++ b/hiviewdfx/hidebug/include/hidebug/hidebug_type.h @@ -58,8 +58,8 @@ typedef enum HiDebug_ErrorCode { HIDEBUG_NO_PERMISSION = 11400103, /** The status of the trace is abnormal */ HIDEBUG_TRACE_ABNORMAL = 11400104, - /** No trace captured running */ - HIDEBUG_NO_TRACE_CAPTURED_RUNNING = 11400105 + /** No trace running */ + HIDEBUG_NO_TRACE_RUNNING = 11400105 } HiDebug_ErrorCode; /** -- Gitee