cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

trace_common.h (286B)


      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