qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Xu <peterx@redhat.com>
To: qemu-devel@nongnu.org
Cc: Laurent Vivier <lvivier@redhat.com>, Fabiano Rosas <farosas@suse.de>
Subject: Re: [PATCH] Migration: Add trace points for vmstate handler insertion/removal
Date: Fri, 18 Oct 2024 17:27:44 -0400	[thread overview]
Message-ID: <ZxLS0MbAgEHNwupM@x1n> (raw)
In-Reply-To: <20241018144426.826802-1-peterx@redhat.com>

On Fri, Oct 18, 2024 at 10:44:26AM -0400, Peter Xu wrote:
> SaveStateEntry has lots of magics internally, on alias_id, get_id() being
> able to overwrite the original idstr, compat fields, ID_ANY, and so on.  It
> may not be always clear that what all these fields are being registered for
> some device we care.
> 
> Add trace points for SaveStateEntry insertions/removals, so that we know
> what was being registered.  For insertions, we dump everything that might
> be useful.  For removal, only section_id is needed because that's the
> unique identifier for an SeveStateEntry.
> 
> Cc: Laurent Vivier <lvivier@redhat.com>
> Cc: Fabiano Rosas <farosas@suse.de>
> Signed-off-by: Peter Xu <peterx@redhat.com>

queued.

-- 
Peter Xu



      parent reply	other threads:[~2024-10-18 21:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-18 14:44 [PATCH] Migration: Add trace points for vmstate handler insertion/removal Peter Xu
2024-10-18 14:50 ` Fabiano Rosas
2024-10-18 21:27 ` Peter Xu [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=ZxLS0MbAgEHNwupM@x1n \
    --to=peterx@redhat.com \
    --cc=farosas@suse.de \
    --cc=lvivier@redhat.com \
    --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).