diff --git a/hiviewdfx/hitrace/include/hitrace/trace.h b/hiviewdfx/hitrace/include/hitrace/trace.h
index 4dcf2c51e49c98c0e7429582bb95be62900829f3..21c1c6d82406dcb7efd210fe85838f10c6452edf 100644
--- a/hiviewdfx/hitrace/include/hitrace/trace.h
+++ b/hiviewdfx/hitrace/include/hitrace/trace.h
@@ -293,45 +293,6 @@ typedef enum HiTrace_Communication_Mode {
HITRACE_CM_DEVICE = 3,
} HiTrace_Communication_Mode;
-/**
- * @brief Enumerates the HiTrace output levels. The output level threshold system parameter determines
- * the minimum output trace.
- *
- * @since 18
- */
-typedef enum HiTrace_Output_Level {
- /**
- * @brief Ouput level only for debug usage.
- *
- * @since 18
- */
- HITRACE_LEVEL_DEBUG = 0,
- /**
- * @brief Output level for beta version usage.
- *
- * @since 18
- */
- HITRACE_LEVEL_INFO = 1,
- /**
- * @brief Output level for beta version usage, with higher priority than HITRACE_LEVEL_INFO.
- *
- * @since 18
- */
- HITRACE_LEVEL_CRITICAL = 2,
- /**
- * @brief Output level for commercial version usage.
- *
- * @since 18
- */
- HITRACE_LEVEL_COMMERCIAL = 3,
- /**
- * @brief Output level for range limit.
- *
- * @since 18
- */
- HITRACE_LEVEL_MAX = HITRACE_LEVEL_COMMERCIAL,
-} HiTrace_Output_Level;
-
/**
* @brief Defines a HiTraceId instance.
*
@@ -723,96 +684,6 @@ void OH_HiTrace_FinishAsyncTrace(const char *name, int32_t taskId);
*/
void OH_HiTrace_CountTrace(const char *name, int64_t count);
-/**
- * @brief Marks the start of a synchronous trace task with output level control.
- *
- * The OH_HiTrace_StartTraceEx and OH_HiTrace_FinishTraceEx APIs must be used in pairs.
- * The two APIs can be used in nested mode. The stack data structure is used for matching during trace data parsing.
- *
- * @param level Level of output priority.
- * @param name Name of a trace task.
- * @param customArgs key=value pair, multiple pairs use comma as seperator.
- * @atomicservice
- * @since 18
- */
-void OH_HiTrace_StartTraceEx(HiTrace_Output_Level level, const char* name, const char* customArgs);
-
-/**
- * @brief Marks the end of a synchronous trace task with output level control.
- *
- * This API must be used with OH_HiTrace_StartTraceEx in pairs. During trace data parsing, the system matches
- * it with the most recent OH_HiTrace_StartTraceEx API invocation in the service process.
- *
- * @param level Level of output priority.
- * @atomicservice
- * @since 18
- */
-void OH_HiTrace_FinishTraceEx(HiTrace_Output_Level level);
-
-/**
- * @brief Marks the start of an asynchronous trace task with output level control.
- *
- * This API is called to implement performance trace in asynchronous manner. The start and end of an asynchronous
- * trace task do not occur in sequence. Therefore, a unique taskId is required to ensure proper data parsing.
- * It is passed as an input parameter for the asynchronous API.
- * This API is used with OH_HiTrace_FinishAsyncTraceEx in pairs. The two APIs, which have the same level,
- * name, and task ID, form an asynchronous timeslice trace task.
- * If customCategory is specified, the trace slice will be grouped and displayed together with other trace slices
- * with the same customCategory.
- * If multiple trace tasks with the same name need to be performed at the same time or a trace task needs to be
- * performed multiple times concurrently, different task IDs must be specified in OH_HiTrace_StartAsyncTraceEx.
- * If the trace tasks with the same name are not performed at the same time, the same taskId can be used.
- * Different processes's taskId do not interfere.
- *
- * @param level Level of output priority.
- * @param name Name of the asynchronous trace task.
- * @param taskId ID of the asynchronous trace task.
- * @param customCategory Label used to aggregate the asynchronous trace.
- * @param customArgs key=value pair, multiple pairs use comma as seperator.
- * @atomicservice
- * @since 18
- */
-void OH_HiTrace_StartAsyncTraceEx(HiTrace_Output_Level level, const char* name, int32_t taskId,
- const char* customCategory, const char* customArgs);
-
-/**
- * @brief Marks the end of an asynchronous trace task with output level control.
- *
- * This API is called in the callback function after an asynchronous trace is complete.
- * It is used with OH_HiTrace_StartAsyncTraceEx in pairs. Its level, name, and task ID must be
- * the same as those of OH_HiTrace_StartAsyncTraceEx.
- *
- * @param level Level of output priority.
- * @param name Name of the asynchronous trace task.
- * @param taskId ID of the asynchronous trace task.
- * @atomicservice
- * @since 18
- */
-void OH_HiTrace_FinishAsyncTraceEx(HiTrace_Output_Level level, const char* name, int32_t taskId);
-
-/**
- * @brief Traces the value change of an integer variable based on its name with output level control.
- *
- * This API can be executed for multiple times to trace the value change of a given integer variable at different
- * time points.
- *
- * @param level Level of output priority.
- * @param name Name of the integer variable. It does not need to be the same as the real variable name.
- * @param count Integer value. Generally, an integer variable can be passed.
- * @atomicservice
- * @since 18
- */
-void OH_HiTrace_CountTraceEx(HiTrace_Output_Level level, const char* name, int64_t count);
-
-/**
- * @brief Get the trace output status of the calling process.
- *
- * @return Returns whether the calling process is allowed to output trace.
- * @atomicservice
- * @since 18
- */
-bool OH_HiTrace_IsTraceEnabled();
-
#ifdef __cplusplus
}
#endif