summaryrefslogtreecommitdiff
path: root/core/include/kernel/trace_ta.h
blob: 44644e660bd6946ac9a656d85d6187b000fa215c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (c) 2014, Linaro Limited
 */
#ifndef TRACE_TA_H
#define TRACE_TA_H

#include <trace.h>

/* Macros to trace TA related events, logs, TA crash info etc */
#ifdef CFG_TEE_CORE_TA_TRACE
#define TAMSG(...)	EMSG(__VA_ARGS__)
#define TAMSG_RAW(...)	EMSG_RAW(__VA_ARGS__)
#else
#define TAMSG(...)
#define TAMSG_RAW(...)
#endif

#endif /*TRACE_TA_H*/