summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-08-03 15:49:58 +0100
committerMarc Zyngier <maz@kernel.org>2021-08-03 15:49:58 +0100
commit8f5d64f57ab13f6903cbeecb4708fa72d996d74a (patch)
treece3ab34f7ea973e7b30281988dcca7696fd95da1
parent3a938fc4cb71f177e93a16ebdd349d68499c0853 (diff)
downloadkvm-ws-tests-master.tar.gz
Add --pmu to allow access to PMU regsHEADmaster
Signed-off-by: Marc Zyngier <maz@kernel.org>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4471b9a..1accfd7 100644
--- a/Makefile
+++ b/Makefile
@@ -19,10 +19,10 @@ clean:
.PHONY: tests-gicv2 tests-gicv3 tests-memory
tests-gicv2:
- @echo GICv2:; for i in $(LOOP_BINS); do echo -n $$i: ; LANG='C' taskset -c 1 $(PERF) stat -e cycles:hk $(LKVM) run -c1 --firmware $$i --irqchip=gicv2 $(LKVM_ARGS) 2>&1 >/dev/null| grep cycles | awk '{print $$1 / 2^20}'; done
+ @echo GICv2:; for i in $(LOOP_BINS); do echo -n $$i: ; LANG='C' taskset -c 1 $(PERF) stat -e cycles:hk $(LKVM) run -c1 --firmware $$i --irqchip=gicv2 $(LKVM_ARGS) --pmu 2>&1 >/dev/null| grep cycles | awk '{print $$1 / 2^20}'; done
tests-gicv3:
- @echo GICv3:; for i in $(LOOP_BINS); do echo -n $$i: ; LANG='C' taskset -c 1 $(PERF) stat -e cycles:hk $(LKVM) run -c1 --firmware $$i --irqchip=gicv3 2>&1 >/dev/null | grep cycles | awk '{print $$1 / 2^20}'; done
+ @echo GICv3:; for i in $(LOOP_BINS); do echo -n $$i: ; LANG='C' taskset -c 1 $(PERF) stat -e cycles:hk $(LKVM) run -c1 --firmware $$i --irqchip=gicv3 --pmu 2>&1 >/dev/null | grep cycles | awk '{print $$1 / 2^20}'; done
tests-memory:
@echo Memory:; for i in $(MEMORY_BINS); do echo -n $$i: ; LANG='C' taskset -c 1 $(PERF) stat -e cycles:hk $(LKVM) run -c1 --firmware $$i -m 1024 2>&1 >/dev/null | grep elapsed; done