diff --git a/hiviewdfx/hidebug/include/hidebug/hidebug.h b/hiviewdfx/hidebug/include/hidebug/hidebug.h index 481e076191fca88676c7f9f70579922d8eea4074..a5bfec7b6330a51340cf48f4ae1c6e7ef7617b08 100644 --- a/hiviewdfx/hidebug/include/hidebug/hidebug.h +++ b/hiviewdfx/hidebug/include/hidebug/hidebug.h @@ -133,6 +133,7 @@ HiDebug_ErrorCode OH_HiDebug_StartAppTraceCapture(HiDebug_TraceFlag flag, * * @return 0 - Success * 11400104 - Maybe no trace is running or some error in the system. + * 11400105 - Have no trace running. * @since 12 */ HiDebug_ErrorCode OH_HiDebug_StopAppTraceCapture(); diff --git a/hiviewdfx/hidebug/include/hidebug/hidebug_type.h b/hiviewdfx/hidebug/include/hidebug/hidebug_type.h index 1695eac409a00ac5e2d498742af52f9aa68781be..6976244e2695464cb9e82c069e8e1a96859bee14 100644 --- a/hiviewdfx/hidebug/include/hidebug/hidebug_type.h +++ b/hiviewdfx/hidebug/include/hidebug/hidebug_type.h @@ -58,7 +58,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 running */ + HIDEBUG_NO_TRACE_RUNNING = 11400105 } HiDebug_ErrorCode; /**