From: Sung-hun Kim Date: Wed, 17 Apr 2024 02:59:37 +0000 (+0900) Subject: Remove conditional statements for Mobile/Wearable profiles X-Git-Tag: accepted/tizen/unified/20240423.164610^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=28d2ec4f084e41bc3983b3ae59317dc20cc1719b;p=tools%2Fttrace.git Remove conditional statements for Mobile/Wearable profiles Remove conditional statements in trace.h header file and use the Mobile version for since_tizen. Change-Id: I679e75bb3be8c45abe3298f9126a45ada1f18091 Signed-off-by: Sung-hun Kim --- diff --git a/include/trace.h b/include/trace.h index 11a8f76..e9024d1 100755 --- a/include/trace.h +++ b/include/trace.h @@ -37,7 +37,7 @@ extern "C" { /** * @brief Enumeration for Trace Error. -* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif +* @since_tizen 2.4 */ typedef enum { TRACE_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */ @@ -47,7 +47,7 @@ typedef enum { /** * @brief Writes a trace event to indicate that a synchronous event has begun. * - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif + * @since_tizen 2.4 * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section. * @param[in] name The name of event (optionally containing format specifiers) * @exception #TRACE_ERROR_NONE Success @@ -59,7 +59,7 @@ void trace_begin(const char *name, ...); /** * @brief Writes a trace event to indicate that the synchronous event has ended. * - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif + * @since_tizen 2.4 * @remarks trace_end() ends the most recently called trace_begin(). * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section. * @exception #TRACE_ERROR_NONE Success @@ -71,7 +71,7 @@ void trace_end(void); /** * @brief Writes a trace event to indicate that an asynchronous event has begun. * - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif + * @since_tizen 2.4 * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section. * @param[in] cookie An unique identifier for distinguishing simultaneous events * @param[in] name The name of event (optionally containing format specifiers) @@ -84,7 +84,7 @@ void trace_async_begin(int cookie, const char *name, ...); /** * @brief Writes a trace event to indicate that the asynchronous event has ended. * - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif + * @since_tizen 2.4 * @remarks trace_async_end() ends matched trace_async_begin() which has same cookie and name. * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section. * @param[in] cookie An unique identifier for distinguishing simultaneous events @@ -98,7 +98,7 @@ void trace_async_end(int cookie, const char *name, ...); /** * @brief Writes a trace event to track change of integer counter. * - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif + * @since_tizen 2.4 * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section. * @param[in] value The counter value * @param[in] name The name of event (optionally containing format specifiers)