diff --git a/tests/gpa_check.c b/tests/gpa_check.c index 31e5c68f..2d194db0 100644 --- a/tests/gpa_check.c +++ b/tests/gpa_check.c @@ -23,6 +23,10 @@ void plat_mutex_lock(PlatMutex *m) { (void)m; } void plat_mutex_unlock(PlatMutex *m) { (void)m; } static int out_of_blocks_lines; +void perf_size(PerfSizes *s, const char *name, uint64_t count, uint64_t limit, uint64_t bytes) { + (void)s, (void)name, (void)count, (void)limit, (void)bytes; // vk_gpa_sizes is not called here +} + void rt_log(const char *fmt, ...) { char line[512]; va_list ap; diff --git a/tests/save_share_check.c b/tests/save_share_check.c index 8afd1d0a..bd131037 100644 --- a/tests/save_share_check.c +++ b/tests/save_share_check.c @@ -60,6 +60,8 @@ NEVER(fs_init) NEVER(hostfn_override) NEVER(hostfn_register) NEVER(mem_kernel_al NEVER(mem_thaw) NEVER(romfs_close) NEVER(romfs_entry) NEVER(romfs_entry_type) NEVER(romfs_file_count) NEVER(romfs_handle) NEVER(romfs_image_path) NEVER(romfs_list) NEVER(romfs_open) NEVER(romfs_overlay) NEVER(romfs_overlay_count) NEVER(romfs_read) NEVER(romfs_size) NEVER(rt_call) +NEVER(perf_size) // fs_host_sizes: only the perf trace's size lines call it +int mem_probing(void) { return 0; } // the write-back probe is off int romfs_owns(const char *path) { (void)path; return 0; } void fs_trace(const char *what, const char *path) { (void)what, (void)path; } diff --git a/tests/sync_wake_check.c b/tests/sync_wake_check.c index c3ef8792..6c8b9030 100644 --- a/tests/sync_wake_check.c +++ b/tests/sync_wake_check.c @@ -28,6 +28,9 @@ void ipc_handle_closed(int kind, void *obj) { (void)kind, (void)obj; } const char *ldr_describe(uint64_t a, char *buf, int n) { snprintf(buf, (size_t)n, "%#llx", (unsigned long long)a); return buf; } uint64_t ldr_symbol(const char *name) { (void)name; return 0; } void perf_main_thread(void) {} +void perf_size(PerfSizes *s, const char *name, uint64_t count, uint64_t limit, uint64_t bytes) { + (void)s, (void)name, (void)count, (void)limit, (void)bytes; // kern_sizes is not called here +} int rt_linked_modules(RtModule *out, int max) { (void)out, (void)max; return 0; } const RtGuestLayout *mem_layout(void) { return NULL; } void *mem_kernel_alloc(uint64_t size, uint64_t align) {