1 /* SPDX-License-Identifier: BSD-2-Clause */ 2 /* 3 * Copyright (c) 2014, Linaro Limited 4 * All rights reserved. 5 */ 6 #ifndef TRACE_TA_H 7 #define TRACE_TA_H 8 9 #include <trace.h> 10 11 /* Macros to trace TA related events, logs, TA crash info etc */ 12 #ifdef CFG_TEE_CORE_TA_TRACE 13 #define TAMSG(...) EMSG(__VA_ARGS__) 14 #define TAMSG_RAW(...) EMSG_RAW(__VA_ARGS__) 15 #else 16 #define TAMSG(...) 17 #define TAMSG_RAW(...) 18 #endif 19 20 #endif /*TRACE_TA_H*/ 21 22