zephyr/doc
Ederson de Souza bdaac354f4 kernel: Bring back object tracking
When CONFIG_TRACING_OBJECT_TRACKING is enabled, the kernel will keep
lists of some objects (detailed below), so that debuggers or other tools
can keep track of them.

The lists of objects are:

struct k_timer *_track_list_k_timer;
struct k_mem_slab *_track_list_k_mem_slab;
struct k_sem *_track_list_k_sem;
struct k_mutex *_track_list_k_mutex;
struct k_stack *_track_list_k_stack;
struct k_msgq *_track_list_k_msgq;
struct k_mbox *_track_list_k_mbox;
struct k_pipe *_track_list_k_pipe;
struct k_queue *_track_list_k_queue;

Note that while CONFIG_TRACING is needed, one can always use
CONFIG_TRACE_NONE=y. Also, tracking will only be done for objects that
are also being traced (so, to prevent tracking of some type of object,
such as k_timer, just make CONFIG_TRACING_TIMER=n).

Some simple "sanity checking" tests are also added in this patch.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2021-12-14 07:42:31 -05:00
..
_doxygen doc: doxygen: adjust titles 2021-11-08 11:17:37 +01:00
_extensions/zephyr doc: extensions: link-roles: hide stderr for git describe 2021-12-10 16:48:43 -05:00
_scripts pm: device: Add wakeup source API 2021-08-11 19:39:13 -04:00
_static doc: style admonitions 2021-12-03 13:20:27 +01:00
_templates doc: add a toctree with reference material 2021-11-02 13:24:40 +01:00
application doc: restore environment variables page 2021-12-14 13:28:20 +01:00
contribute doc: Fix typo for links to MAINTAINERS.yml 2021-12-09 11:21:56 -06:00
development_process doc: Fix typo for links to MAINTAINERS.yml 2021-12-09 11:21:56 -06:00
getting_started doc: drop single quote references 2021-12-10 16:43:34 -05:00
guides kernel: Bring back object tracking 2021-12-14 07:42:31 -05:00
images doc: remove unused images 2021-07-19 20:06:00 -04:00
introduction Bluetooth: Mesh: Align capitalization for BT mesh 2021-07-13 11:23:54 -04:00
reference doc: gptp: Add nucleo_f767zi and nucleo_h745zi_q as supported boards 2021-12-13 22:19:25 -05:00
releases release-note: mcuboot changes since v2.7.0 2021-12-13 20:33:31 -05:00
security doc: security: Remove unused image 2021-12-01 05:03:59 -05:00
templates
404.rst doc: fix 404 page 2021-05-19 16:48:39 -04:00
CMakeLists.txt doc: doxygen: add version and shorten brief 2021-10-07 11:54:23 -04:00
conf.py doc: do not use any as default role 2021-12-10 16:43:34 -05:00
copyright.rst
glossary.rst doc: reference: pm: move terms to glossary 2021-11-13 07:59:51 -05:00
index-tex.rst doc: create an index for PDF files 2021-07-15 07:07:21 -04:00
index.rst doc: add a toctree with reference material 2021-11-02 13:24:40 +01:00
known-warnings.txt doc: warnings: make expressions more generic 2021-05-19 06:21:53 -04:00
LICENSING.rst docs: Change a number of 'master' branch refers to 'main' 2021-05-28 10:45:17 -05:00
Makefile doc: makefile: add support for latexmk options 2021-07-30 08:21:02 -04:00
substitutions.txt
zephyr.doxyfile.in doc: debug: expand documentation on gdbstub 2021-11-30 15:24:00 -05:00