summaryrefslogtreecommitdiffstats
path: root/test/sevstep.c
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2022-10-14 01:35:32 +0200
committerLouis Burda <quent.burda@gmail.com>2022-10-14 01:35:32 +0200
commitb7ba9ea06a0a6332a6b18bcdf2c5339fabfb2a5b (patch)
tree49a1ed076c0f81ffe05cbe89ed55fb6e0c6b1e22 /test/sevstep.c
parent0def0e2d6eeca32304a31072469b94f40c2ce2b9 (diff)
downloadcachepc-b7ba9ea06a0a6332a6b18bcdf2c5339fabfb2a5b.tar.gz
cachepc-b7ba9ea06a0a6332a6b18bcdf2c5339fabfb2a5b.zip
Replace smp_processor_id with get_cpu
Diffstat (limited to 'test/sevstep.c')
-rw-r--r--test/sevstep.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/sevstep.c b/test/sevstep.c
index d2ca5a3..b2c3533 100644
--- a/test/sevstep.c
+++ b/test/sevstep.c
@@ -503,10 +503,11 @@ main(int argc, const char **argv)
free(counts);
}
- for (i = 0; i < SAMPLE_COUNT; i++) {
- printf("Evictions with access:\n");
- print_counts(with_access[i]);
- }
+ // for (i = 0; i < SAMPLE_COUNT; i++) {
+ // printf("Evictions with access:\n");
+ // print_counts(with_access[i]);
+ // }
+ printf("done.\n");
sev_kvm_deinit(&kvm_with_access);