Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
52
#include <stdint.h>
53
54
#ifdef __cplusplus
55
extern
"C"
{
56
#endif
57
70
void
trace
(uint32_t val);
71
84
void
trace_dump
(
void
);
85
89
void
trace_reset
(
void
);
90
91
#ifdef __cplusplus
92
}
93
#endif
94
trace_reset
void trace_reset(void)
Empty the trace buffer.
trace
void trace(uint32_t val)
Add entry to trace buffer.
trace_dump
void trace_dump(void)
Print the current trace buffer.
Generated on Mon Nov 24 2025 18:43:16 by
1.9.1