From ca5a18fbb976d63824b99ef4e9094f5c0b3a82db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=8D=9A=E6=96=AF?= Date: Wed, 17 Apr 2024 06:29:55 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9401=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=A0=81=E7=9A=84=E6=B3=A8=E9=87=8A?= 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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hiviewdfx/hidebug/include/hidebug/hidebug_type.h b/hiviewdfx/hidebug/include/hidebug/hidebug_type.h index 1c442c4ad..8450a4343 100644 --- a/hiviewdfx/hidebug/include/hidebug/hidebug_type.h +++ b/hiviewdfx/hidebug/include/hidebug/hidebug_type.h @@ -50,7 +50,11 @@ extern "C" { typedef enum HiDebug_ErrorCode { /** Success */ HIDEBUG_SUCCESS = 0, - /** Invalid argument */ + /** Parameter error. + Possible causes: + 1.The parameter is not within the enumeration type. + 2.The limitsize is too small. + 3.The file name is a null pointer */ HIDEBUG_INVALID_ARGUMENT = 401, /** Have already capture trace */ HIDEBUG_TRACE_CAPTURED_ALREADY = 11400102, -- Gitee From 7a4d81fbc88432e7023479589783fb028e2fd682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=8D=9A=E6=96=AF?= Date: Wed, 17 Apr 2024 07:21:32 +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 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/hiviewdfx/hidebug/include/hidebug/hidebug_type.h b/hiviewdfx/hidebug/include/hidebug/hidebug_type.h index 8450a4343..56d50323e 100644 --- a/hiviewdfx/hidebug/include/hidebug/hidebug_type.h +++ b/hiviewdfx/hidebug/include/hidebug/hidebug_type.h @@ -50,11 +50,12 @@ extern "C" { typedef enum HiDebug_ErrorCode { /** Success */ HIDEBUG_SUCCESS = 0, - /** Parameter error. - Possible causes: - 1.The parameter is not within the enumeration type. - 2.The limitsize is too small. - 3.The file name is a null pointer */ + /** + * Invalid argument + * 1.The parameter is not within the enumeration type + * 2.The limitsize is too small + * 3.The file name is a null pointer + */ HIDEBUG_INVALID_ARGUMENT = 401, /** Have already capture trace */ HIDEBUG_TRACE_CAPTURED_ALREADY = 11400102, -- Gitee