Zephyr Project API 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
log_backend_adsp_mtrace.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Intel Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_LOG_BACKEND_ADSP_MTRACE_H_
8#define ZEPHYR_LOG_BACKEND_ADSP_MTRACE_H_
9
10#include <stdint.h>
11#include <stddef.h>
12
20typedef void(*adsp_mtrace_log_hook_t)(size_t written, size_t space_left);
21
29
31
32#endif /* ZEPHYR_LOG_BACKEND_ADSP_MTRACE_H_ */
void adsp_mtrace_log_init(adsp_mtrace_log_hook_t hook)
Initialize the Intel ADSP mtrace logger.
void(* adsp_mtrace_log_hook_t)(size_t written, size_t space_left)
mtracelogger requires a hook for IPC messages
Definition log_backend_adsp_mtrace.h:20
const struct log_backend * log_backend_adsp_mtrace_get(void)
Logger backend structure.
Definition log_backend.h:94