xref: /OK3568_Linux_fs/kernel/samples/bpf/trace_common.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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
14