Refactor shell output macros to minimize caller overhead by eliminating direct `color` parameter passing: - Introduce wrapper functions: `shell_info_impl`, `shell_print_impl`, `shell_warn_impl`, `shell_error_impl`. - Replace `shell_fprintf` in macros with these new wrappers. - Update `shell_hexdump_line` to use the new wrappers, minimizing caller overhead. Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com> |
||
|---|---|---|
| .. | ||
| backends | ||
| modules | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.template.shell_log_queue_size | ||
| Kconfig.template.shell_log_queue_timeout | ||
| shell_cmds.c | ||
| shell_fprintf.c | ||
| shell_help.c | ||
| shell_help.h | ||
| shell_history.c | ||
| shell_log_backend.c | ||
| shell_ops.c | ||
| shell_ops.h | ||
| shell_utils.c | ||
| shell_utils.h | ||
| shell_vt100.h | ||
| shell_wildcard.c | ||
| shell_wildcard.h | ||
| shell.c | ||