From 1768ee71e60b25df36ca190b63f286c63613f686 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 13 Jan 2018 12:37:43 +0100 Subject: executor: tidy up debug output 1. Don't print copyin (there are too many of them). 2. Print copyout value (it's usually important). --- executor/executor.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'executor/executor.h') diff --git a/executor/executor.h b/executor/executor.h index 2c8b36b8d..570058ae7 100644 --- a/executor/executor.h +++ b/executor/executor.h @@ -310,7 +310,6 @@ retry: if (call_num == instr_copyin) { char* addr = (char*)read_input(&input_pos); uint64 typ = read_input(&input_pos); - debug("copyin to %p\n", addr); switch (typ) { case arg_const: { uint64 size, bf_off, bf_len; @@ -505,7 +504,7 @@ void handle_completion(thread_t* th) fail("result idx %lld overflows kMaxCommands", index); results[index].executed = true; results[index].val = val; - debug("copyout from %p\n", addr); + debug("copyout 0x%llx from %p\n", val, addr); break; } default: -- cgit mrf-deployment