Loading...
Searching...
No Matches
print_stack_usage.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2026 Technische Universität Hamburg
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
43void print_stack_usage_metric(const char *name, void *stack, unsigned max_size);
44
45#ifdef __cplusplus
46}
47#endif
void print_stack_usage_metric(const char *name, void *stack, unsigned max_size)
Print the stack usage of a stack in JSON metric format.