mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 23:43:30 +00:00
log_strdup requested for a piece of memory, with the first 4 bytes as the number of references and the next used to copy strings. In the implementation of this function, the memory is managed by user and is a little hard to understand. Rewriting this part of code, using structure to manage the memory requested, make it easier to understand. Signed-off-by: qianfan Zhao <qianfanguijin@163.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.template.log_config | ||
log_backend_native_posix.c | ||
log_backend_uart.c | ||
log_cmds.c | ||
log_core.c | ||
log_list.c | ||
log_list.h | ||
log_msg.c | ||
log_output.c | ||
sys_log_net.c | ||
sys_log.c |