From: Gerd Hoffmann <kraxel@redhat.com>
To: Alexey Kardashevskiy <aik@ozlabs.ru>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] ohci: Split long traces to smaller ones
Date: Thu, 25 Sep 2014 16:08:13 +0200 [thread overview]
Message-ID: <1411654093.7154.10.camel@nilsson.home.kraxel.org> (raw)
In-Reply-To: <5423E29C.3030902@ozlabs.ru>
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
next prev parent reply other threads:[~2014-09-25 14:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-25 0:16 [Qemu-devel] [PATCH] ohci: Split long traces to smaller ones Alexey Kardashevskiy
2014-09-25 8:09 ` Gerd Hoffmann
2014-09-25 9:38 ` Alexey Kardashevskiy
2014-09-25 14:08 ` Gerd Hoffmann [this message]
2014-09-25 9:18 ` Alex Bennée
2014-09-25 9:38 ` [Qemu-devel] [PATCH] ohci: drop computed flags from trace events Alex Bennée
2014-09-25 10:50 ` Stefan Hajnoczi
2014-09-26 8:51 ` Stefan Hajnoczi
2014-09-26 8:51 ` [Qemu-devel] [PATCH] ohci: Split long traces to smaller ones Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1411654093.7154.10.camel@nilsson.home.kraxel.org \
--to=kraxel@redhat.com \
--cc=aik@ozlabs.ru \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).