18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci#ifndef __TRACE_COMMON_H
38c2ecf20Sopenharmony_ci#define __TRACE_COMMON_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#ifdef __x86_64__
68c2ecf20Sopenharmony_ci#define SYSCALL(SYS) "__x64_" __stringify(SYS)
78c2ecf20Sopenharmony_ci#elif defined(__s390x__)
88c2ecf20Sopenharmony_ci#define SYSCALL(SYS) "__s390x_" __stringify(SYS)
98c2ecf20Sopenharmony_ci#else
108c2ecf20Sopenharmony_ci#define SYSCALL(SYS)  __stringify(SYS)
118c2ecf20Sopenharmony_ci#endif
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#endif
14