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