• Home
  • Raw
  • Download

Lines Matching full:trace

33  * @defgroup los_trace Trace
53 * Trace Control agent task's priority.
62 …* Trace records the max number of objects(kernel object, like tasks), range is [0, LOSCFG_BASE_COR…
63 * if set to 0, trace will not record any object.
69 …* Trace tlv encode buffer size, the buffer is used to encode one piece raw frame to tlv message in…
75 * Trace error code: init trace failed.
79 * Solution: Follow the trace State Machine.
85 * Trace error code: Insufficient memory for trace buf init.
95 * Trace error code: Insufficient memory for trace struct.
99 * Solution: Increase trace buffer's size.
105 * Trace state.
108 TRACE_UNINIT = 0, /**< trace isn't inited */
109 TRACE_INITED, /**< trace is inited but not started yet */
110 TRACE_STARTED, /**< trace is started and system is tracing */
111 TRACE_STOPED, /**< trace is stopped */
116 …* Trace mask is used to filter events in runtime. Each mask keep only one unique bit to 1, and use…
117 * module's trace mask.
136 …* Trace event type which indicate the exactly happened events, user can define own module's event …
216 * struct to store the trace config information.
221 UINT32 version; /**< trace version */
262 * struct to store the trace data.
266 UINT16 totalLen; /**< trace data's total length */
275 * @brief Define the type of trace hardware interrupt filter hook function.
279 * user don't need trace the certain number.
298 * Trace event params:
304 * <li>The first param is treat as key, keep at least this param if you want trace this event.</li>
307 * eg. Trace an event as:
309 * eg. Not Trace an event as:
311 * eg. Trace only you need parmas as:
379 * @brief Trace static code stub.
382 * This API is used to instrument trace code stub in source code, to track events.
410 * @brief Trace static easier user-defined code stub.
413 …* This API is used to instrument user-defined trace code stub in source code, to track events simp…
439 * @brief Start trace.
442 * This API is used to start trace.
445 * <li>Start trace</li>
449 * @retval #LOS_ERRNO_TRACE_ERROR_STATUS 0x02001400: Trace start failed.
450 * @retval #LOS_OK 0x00000000: Trace start success.
460 * @brief Stop trace.
463 * This API is used to stop trace.
466 * <li>Stop trace</li>
480 * @brief Clear the trace buf.
483 * Clear the event frames in trace buf only at offline mode.
486 * <li>This API can be called only after that trace buffer has been established.</li>
487 * Otherwise, the trace will be failed.</li>
500 * @brief Set trace event mask.
503 * Set trace event mask.
506 * <li>Set trace event filter mask.</li>
509 * trace.</li>
510 * <li>The system's trace mask will be overrode by the input parameter.</li>
523 * @brief Offline trace buffer display.
526 * Display trace buf data only at offline mode.
529 …* <li>This API can be called only after that trace stopped. Otherwise the trace dump will be faile…
530 …* <li>Trace data will be send to pipeline when user set toClient = TRUE. Otherwise it will be form…
534 * @param toClient [IN] Type #BOOL. Whether send trace data to Client through pipeline.
545 * @brief Offline trace buffer export.
548 * Return the trace buf only at offline mode.
551 * <li>This API can be called only after that trace buffer has been established. </li>
556 …* @retval #OfflineHead* The trace buffer's address, analyze this buffer according to the structu…
577 * the hook should return true if you don't want trace this hwi num.