Loading...
Searching...
No Matches
trace.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2020 Kaspar Schleiser <kaspar@schleiser.de>
3 * Freie Universität Berlin
4 * Inria
5 *
6 * This file is subject to the terms and conditions of the GNU Lesser
7 * General Public License v2.1. See the file LICENSE in the top level
8 * directory for more details.
9 */
10
53#ifndef TRACE_H
54#define TRACE_H
55
56#include <stdint.h>
57
58#ifdef __cplusplus
59extern "C" {
60#endif
61
74void trace(uint32_t val);
75
88void trace_dump(void);
89
93void trace_reset(void);
94
95#ifdef __cplusplus
96}
97#endif
98
99#endif /* TRACE_H */
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.