Re: [PATCH] Migration: Add trace points for vmstate handler insertion/removal

2024-10-18 Thread Peter Xu
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 de

Re: [PATCH] Migration: Add trace points for vmstate handler insertion/removal

2024-10-18 Thread Fabiano Rosas
Peter Xu writes: > 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

[PATCH] Migration: Add trace points for vmstate handler insertion/removal

2024-10-18 Thread Peter Xu
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/remo