LCOV - code coverage report
Current view: top level - zephyr/debug - object_tracing.h Coverage Total Hit
Test: new.info Lines: 66.7 % 3 2
Test Date: 2025-09-05 16:43:28

            Line data    Source code
       1            0 : /*
       2              :  * Copyright (c) 2016 Intel Corporation
       3              :  *
       4              :  * SPDX-License-Identifier: Apache-2.0
       5              :  */
       6              : 
       7              : #ifndef ZEPHYR_INCLUDE_THREAD_MONITOR_H_
       8              : #define ZEPHYR_INCLUDE_THREAD_MONITOR_H_
       9              : 
      10              : #include <zephyr/kernel.h>
      11              : #include <zephyr/kernel_structs.h>
      12              : 
      13              : /**
      14              :  * @brief Head element of the thread monitor list.
      15              :  *
      16              :  * @details Access the head element of the thread monitor list.
      17              :  *
      18              :  */
      19            1 : #define SYS_THREAD_MONITOR_HEAD ((struct k_thread *)(_kernel.threads))
      20              : 
      21              : /**
      22              :  * @brief Gets a thread node's next element.
      23              :  *
      24              :  * @details Given a node in a thread monitor list, gets the next
      25              :  * element in the list.
      26              :  *
      27              :  * @param obj Object to get the next element from.
      28              :  */
      29            1 : #define SYS_THREAD_MONITOR_NEXT(obj) (((struct k_thread *)obj)->next_thread)
      30              : 
      31              : #endif /* ZEPHYR_INCLUDE_THREAD_MONITOR_H_ */
        

Generated by: LCOV version 2.0-1