Received: from eggs.gnu.org ([2001:4830:134:3::10]:46951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZADgT-0004vi-7X for qemu-devel@nongnu.org; Wed, 01 Jul 2015 04:48:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZADgP-0005wy-RY for qemu-devel@nongnu.org; Wed, 01 Jul 2015 04:47:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZADgP-0005wm-Lt for qemu-devel@nongnu.org; Wed, 01 Jul 2015 04:47:53 -0400 From: Juan Quintela In-Reply-To: <20150611184432.GM2123@work-vm> (David Alan Gilbert's message of "Thu, 11 Jun 2015 19:44:32 +0100") References: <1434043048-4444-1-git-send-email-dgilbert@redhat.com> <1434043048-4444-8-git-send-email-dgilbert@redhat.com> <5579D168.1080004@linux.vnet.ibm.com> <20150611184432.GM2123@work-vm> Date: Wed, 01 Jul 2015 10:47:51 +0200 Message-ID: <87zj3g1cy0.fsf@neno.neno> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v2 07/12] Rework ram_control_load_hook to hook during block load Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert" Cc: amit.shah@redhat.com, arei.gonglei@huawei.com, qemu-devel@nongnu.org, "Michael R. Hines" , mrhines@us.ibm.com "Dr. David Alan Gilbert" wrote: > * Michael R. Hines (mrhines@linux.vnet.ibm.com) wrote: >> > qemu_rdma_registration_handle_unregister_success(uint64_t chunk) "%" PRIu64 >> >-qemu_rdma_registration_handle_wait(uint64_t flags) "Waiting for next request %" PRIu64 >> >+qemu_rdma_registration_handle_wait(void) "" >> >> Are you using some kind of script to generate these trace prototypes? >> What happened to the message? =) > > The prototypes I added manually. You normally have the trace name in your > tool so you don't need the text that gives you the same piece of information. > So I get output like: > > 25988@1434041422.299944:qemu_rdma_registration_handle_ram_blocks > > without having to write anything in the text. > (That's with the stderr trace backend, and the prefix being PID and time) Notice also that he removed the flags argument on the caller function, so nothing to print there, really. > > Dave > >> >> > qemu_rdma_registration_start(uint64_t flags) "%" PRIu64 >> > qemu_rdma_registration_stop(uint64_t flags) "%" PRIu64 >> > qemu_rdma_registration_stop_ram(void) "" >> > -- > Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK