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

atomic_bounds.c (321B)


      1// SPDX-License-Identifier: GPL-2.0
      2
      3#include <test_progs.h>
      4
      5#include "atomic_bounds.skel.h"
      6
      7void test_atomic_bounds(void)
      8{
      9	struct atomic_bounds *skel;
     10	__u32 duration = 0;
     11
     12	skel = atomic_bounds__open_and_load();
     13	if (CHECK(!skel, "skel_load", "couldn't load program\n"))
     14		return;
     15
     16	atomic_bounds__destroy(skel);
     17}