diff options
| author | Louis Burda <quent.burda@gmail.com> | 2023-01-21 02:23:52 +0100 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2023-01-21 02:23:52 +0100 |
| commit | 769e05dd63ed0379e7325da6e82c0c46c151ef4e (patch) | |
| tree | 0c0bbef5f61717647efb297b2632c3e92acc4089 /Makefile | |
| parent | 0257ca8ac931775fffd74150b439eb9ddcc025aa (diff) | |
| download | cachepc-769e05dd63ed0379e7325da6e82c0c46c151ef4e.tar.gz cachepc-769e05dd63ed0379e7325da6e82c0c46c151ef4e.zip | |
Reimplement test and prime+probe in asm, make self-tests harder and improve noise
Diffstat (limited to 'Makefile')
| -rwxr-xr-x | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -49,12 +49,14 @@ load: sudo insmod $(LINUX)/arch/x86/kvm/kvm.ko sudo insmod $(LINUX)/arch/x86/kvm/kvm-amd.ko -freq: +prep: + sudo sh -c "echo 0 > /proc/sys/kernel/watchdog" sudo cpupower frequency-set -f 3.7GHz util/%: util/%.c $(CACHEPC_UAPI) -test/%: test/%.c $(CACHEPC_UAPI) +test/eviction: test/eviction.c test/util.c $(CACHEPC_UAPI) + $(CC) -o $@ $(filter %.c,$^) $(filter %.S,$^) $(CFLAGS) test/kvm-eviction: test/kvm-eviction.c test/kvm-eviction_guest.S test/util.c \ test/util.h test/kvm.c test/kvm.h test/kvm-eviction.h $(CACHEPC_UAPI) @@ -64,4 +66,4 @@ test/kvm-step: test/kvm-step.c test/kvm-step_guest.S \ test/util.c test/util.h test/kvm.c test/kvm.h $(CACHEPC_UAPI) $(CC) -o $@ $(filter %.c,$^) $(filter %.S,$^) $(CFLAGS) -.PHONY: all clean host build load freq +.PHONY: all clean host build load prep |
