Loading...
Searching...
No Matches
trace.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020 Kaspar Schleiser <kaspar@schleiser.de>
3 * SPDX-FileCopyrightText: 2020 Freie Universität Berlin
4 * SPDX-FileCopyrightText: 2020 Inria
5 * SPDX-License-Identifier: LGPL-2.1-only
6 */
7
8#pragma once
9
51
52#include <stdint.h>
53
54#ifdef __cplusplus
55extern "C" {
56#endif
57
70void trace(uint32_t val);
71
84void trace_dump(void);
85
89void trace_reset(void);
90
91#ifdef __cplusplus
92}
93#endif
94
void trace_reset(void)
Empty the trace buffer.
void trace(uint32_t val)
Add entry to trace buffer.
void trace_dump(void)
Print the current trace buffer.