From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XX9ii-0001IF-PS for qemu-devel@nongnu.org; Thu, 25 Sep 2014 10:08:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XX9iZ-0007En-Bt for qemu-devel@nongnu.org; Thu, 25 Sep 2014 10:08:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XX9iZ-0007DM-4H for qemu-devel@nongnu.org; Thu, 25 Sep 2014 10:08:23 -0400 Message-ID: <1411654093.7154.10.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Thu, 25 Sep 2014 16:08:13 +0200 In-Reply-To: <5423E29C.3030902@ozlabs.ru> References: <1411604219-15029-1-git-send-email-aik@ozlabs.ru> <1411632559.7154.8.camel@nilsson.home.kraxel.org> <5423E29C.3030902@ozlabs.ru> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] ohci: Split long traces to smaller ones List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: qemu-devel@nongnu.org On Do, 2014-09-25 at 19:38 +1000, Alexey Kardashevskiy wrote: > On 09/25/2014 06:09 PM, Gerd Hoffmann wrote: > > On Do, 2014-09-25 at 10:16 +1000, Alexey Kardashevskiy wrote: > >> Recent traces rework introduced 2 tracepoints with 13 and 20 > >> arguments. When dtrace backend is selected > >> (--enable-trace-backend=dtrace), compile fails as > >> sys/sdt.h defines DTRACE_PROBE up to DTRACE_PROBE12 only. > >> > >> This splits long tracepoints. > > > > Can you also change the tracing-enabled check to use '#ifndef > > CONFIG_TRACE_NOP' as suggested by Stefan please? > > Nope :( As I said in that thread, I am not familiar with "dtrace" - are > traces configurable with it? With --enable-trace-backend=dtrace, > trace_event_get_state is not defined so CONFIG_TRACE_NOP is not 100% equal > replacement. Ah, ok. IIRC with dtrace / systemtap you enable the trace point by other means than qemu monitor commands, which is probably the reason trace_event_get_state isn't there. So trying to skip the calls with tracing turned off isn't going to fly as qemu doesn't know in the first place whenever a tracepoint is enabled or not. cheers, Gerd