summaryrefslogtreecommitdiff
path: root/core/include/kernel/trace_ta.h
blob: 6139075b9418f80bc8eafd6dbb4435fd346f6a78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (c) 2014, Linaro Limited
 * All rights reserved.
 */
#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*/