Merge tag 'arm-soc-drivers-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / samples / bpf / trace_common.h
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