zephyr/subsys
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
..
bluetooth Bluetooth: Mesh: check cfg cli status param 2021-12-13 20:37:12 -05:00
canbus drivers: can: deprecate the use of CAN-specific error return values 2021-12-09 12:37:40 -05:00
console console: Kconfig: Remove EXPERIMENTAL marker 2021-10-22 09:46:22 -04:00
cpp ARC: MWDT: get rid of MWDT startup libs 2021-09-01 17:08:32 -04:00
debug debug: coredump: add xtensa coredump 2021-12-14 07:40:55 -05:00
demand_paging demand_paging: eviction/nru: fix incorrect dirty bit return val 2021-09-20 19:43:02 -04:00
dfu dfu: boot: Add implementation for multi-image swap type check 2021-08-26 09:13:13 -04:00
disk
emul i2c: emul: Add get_config function 2021-11-02 16:46:33 +01:00
fb samples: use chosen property to get default display controller 2021-12-10 12:47:30 +01:00
fs fs: littlefs: Add processing of FS_MOUNT_FLAG_USE_DISK_ACCESS flag 2021-12-06 08:08:26 -05:00
ipc ipc: use highest coop priority for IPM workqueue 2021-11-24 18:59:02 +01:00
jwt jwt: mbedTLS requires csprng 2021-10-07 14:02:40 -05:00
logging log_backend_net: local_addrX may be used uninitialized 2021-12-09 19:53:17 -05:00
lorawan kconfig: lorawan: experimental settings now uses select EXPERIMENTAL 2021-10-25 10:46:48 +02:00
mgmt samples: subsys: mcumgr: Remove deprecated <power/reboot.h> header 2021-12-10 10:30:41 +01:00
modbus modbus: copy trans_id & proto_id to response header 2021-08-26 06:56:25 -04:00
net drivers: can: deprecate the use of CAN-specific error return values 2021-12-09 12:37:40 -05:00
pm pm: device_runtime: Reset usage count on enable 2021-12-13 20:38:52 -05:00
portability portability: cmsis: use correct type for atomics 2021-11-15 09:59:01 -05:00
random random: Fix sys_csrand_get build condition 2021-10-07 14:02:40 -05:00
settings settings: add shell commands for reading settings 2021-11-22 08:32:56 -05:00
shell device: remove inclusion of pm/device.h 2021-11-29 11:08:38 +01:00
stats stats: fixed implicit integer sign extension in stats_get_off() 2021-10-28 15:15:56 -04:00
storage storage/flash_map: Add option to use MBEDTLS for img integrity check. 2021-11-24 21:52:08 -05:00
task_wdt task_wdt: fix overflow in current_ticks making wdt get stuck 2021-11-22 20:22:11 -05:00
testsuite testsuite: busy_sim: Use xoshiro128++ when enabled 2021-12-01 10:00:50 +01:00
timing
tracing kernel: Bring back object tracking 2021-12-14 07:42:31 -05:00
usb usb: rework to use macro STRUCT_SECTION_FOREACH 2021-12-10 07:22:15 -06:00
CMakeLists.txt usb: remove Kconfig option CONFIG_USB 2021-08-03 19:00:12 -04:00
Kconfig