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_selftest_dynamic.c (270B)


      1// SPDX-License-Identifier: GPL-2.0
      2#include <linux/compiler.h>
      3#include "trace.h"
      4
      5noinline __noclone int DYN_FTRACE_TEST_NAME(void)
      6{
      7	/* used to call mcount */
      8	return 0;
      9}
     10
     11noinline __noclone int DYN_FTRACE_TEST_NAME2(void)
     12{
     13	/* used to call mcount */
     14	return 0;
     15}