trace_common.h 286 B

12345678910111213
  1. // SPDX-License-Identifier: GPL-2.0
  2. #ifndef __TRACE_COMMON_H
  3. #define __TRACE_COMMON_H
  4. #ifdef __x86_64__
  5. #define SYSCALL(SYS) "__x64_" __stringify(SYS)
  6. #elif defined(__s390x__)
  7. #define SYSCALL(SYS) "__s390x_" __stringify(SYS)
  8. #else
  9. #define SYSCALL(SYS) __stringify(SYS)
  10. #endif
  11. #endif