All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Stefano De Venuto <stefano.devenuto99@gmail.com>
Cc: Linux Trace Devel <linux-trace-devel@vger.kernel.org>,
	Dario Faggioli <dfaggioli@suse.com>
Subject: Re: Combined traces evaluations
Date: Fri, 16 Apr 2021 09:34:03 -0400	[thread overview]
Message-ID: <20210416093403.1f58e98c@gandalf.local.home> (raw)
In-Reply-To: <a8576de6-5eae-1e27-173e-4d95b645f6a8@gmail.com>

On Fri, 16 Apr 2021 12:18:11 +0200
Stefano De Venuto <stefano.devenuto99@gmail.com> wrote:

> Is there something that I'm missing? What can be the cause of this
> mismatch since it only happens at the beginning of the trace?

We tell the guest to start tracing, and then tell the host to start. This
means that there are going to be missing events on the host when the host
starts tracing. That is,

tell guest to start:

guest starts:

   guest has events

guest switches to host:

<kvm_exit, but not traced>

host starts tracing:

Now we have guest events followed by host events but no kvm_exit, because
it was missed. Perhaps for guest tracing it would be wise to start the host
before the guest :-/

-- Steve

      reply	other threads:[~2021-04-16 13:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-16 10:18 Combined traces evaluations Stefano De Venuto
2021-04-16 13:34 ` Steven Rostedt [this message]

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=20210416093403.1f58e98c@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=dfaggioli@suse.com \
    --cc=linux-trace-devel@vger.kernel.org \
    --cc=stefano.devenuto99@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.