Zephyr API Documentation
3.6.99
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
20
typedef
void(*
adsp_mtrace_log_hook_t
)(
size_t
written,
size_t
space_left);
21
28
void
adsp_mtrace_log_init
(
adsp_mtrace_log_hook_t
hook);
29
30
const
struct
log_backend
*
log_backend_adsp_mtrace_get
(
void
);
31
32
#endif
/* ZEPHYR_LOG_BACKEND_ADSP_MTRACE_H_ */
adsp_mtrace_log_init
void adsp_mtrace_log_init(adsp_mtrace_log_hook_t hook)
Initialize the Intel ADSP mtrace logger.
adsp_mtrace_log_hook_t
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
log_backend_adsp_mtrace_get
const struct log_backend * log_backend_adsp_mtrace_get(void)
stdint.h
log_backend
Logger backend structure.
Definition:
log_backend.h:94
zephyr
logging
log_backend_adsp_mtrace.h
Generated on Thu Jul 4 2024 12:22:47 for Zephyr API Documentation by
1.9.6