diff options
Diffstat (limited to 'test/test_sref_noref.c')
-rw-r--r-- | test/test_sref_noref.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/test_sref_noref.c b/test/test_sref_noref.c index e82d14c3..3fcbfb13 100644 --- a/test/test_sref_noref.c +++ b/test/test_sref_noref.c @@ -41,6 +41,7 @@ #include <kern/init.h> #include <kern/error.h> #include <kern/kmem.h> +#include <kern/log.h> #include <kern/macros.h> #include <kern/mutex.h> #include <kern/panic.h> @@ -106,9 +107,9 @@ test_obj_noref(struct sref_counter *counter) obj = structof(counter, struct test_obj, ref_counter); vm_kmem_free(obj, sizeof(*obj)); printf("0 references, page released\n"); - syscnt_info("sref_epoch"); - syscnt_info("sref_dirty_zero"); - syscnt_info("sref_true_zero"); + syscnt_info("sref_epoch", log_info); + syscnt_info("sref_dirty_zero", log_info); + syscnt_info("sref_true_zero", log_info); } static void |