blob: 51e77482df4037550953193452e7c27dafd9d36f [file] [log] [blame]
Juan Pablo Condeb5ec1382023-11-08 16:14:28 -06001/*
2 * Copyright (c) 2023, Arm Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6#ifndef CONTEXT_DEBUG_H
7#define CONTEXT_DEBUG_H
8
9#if PLATFORM_REPORT_CTX_MEM_USE && defined(__aarch64__)
10/********************************************************************************
11 * Reports the allocated memory for every security state and then reports the
12 * total system-wide allocated memory.
13 *******************************************************************************/
14void report_ctx_memory_usage(void);
15#else
16static inline void report_ctx_memory_usage(void) {}
17#endif /* PLATFORM_REPORT_CTX_MEM_USE */
18
19#endif /* CONTEXT_DEBUG_H */