Daniel T. Lee | 63841bc | 2020-05-16 13:06:05 +0900 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
2 | #ifndef __TRACE_COMMON_H | ||||
3 | #define __TRACE_COMMON_H | ||||
4 | |||||
5 | #ifdef __x86_64__ | ||||
6 | #define SYSCALL(SYS) "__x64_" __stringify(SYS) | ||||
7 | #elif defined(__s390x__) | ||||
8 | #define SYSCALL(SYS) "__s390x_" __stringify(SYS) | ||||
9 | #else | ||||
10 | #define SYSCALL(SYS) __stringify(SYS) | ||||
11 | #endif | ||||
12 | |||||
13 | #endif |