|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
Intel ADSP mtrace log backend API. More...
Files | |
| file | log_backend_adsp_mtrace.h |
| Header file for the Intel ADSP mtrace log backend API. | |
Typedefs | |
| typedef void(* | adsp_mtrace_log_hook_t) (size_t written, size_t space_left) |
| mtracelogger requires a hook for IPC messages | |
Functions | |
| void | adsp_mtrace_log_init (adsp_mtrace_log_hook_t hook) |
| Initialize the Intel ADSP mtrace logger. | |
| const struct log_backend * | log_backend_adsp_mtrace_get (void) |
Intel ADSP mtrace log backend API.
#include <zephyr/logging/log_backend_adsp_mtrace.h>
mtracelogger requires a hook for IPC messages
When new log data is added to the SRAM buffer, a IPC message should be sent to the host. This hook function pointer allows for that.
| void adsp_mtrace_log_init | ( | adsp_mtrace_log_hook_t | hook | ) |
#include <zephyr/logging/log_backend_adsp_mtrace.h>
Initialize the Intel ADSP mtrace logger.
| hook | Function is called after each write to the SRAM buffer It is up to the author of the hook to serialize if needed. |
| const struct log_backend * log_backend_adsp_mtrace_get | ( | void | ) |
#include <zephyr/logging/log_backend_adsp_mtrace.h>