Peter Xu <[email protected]> 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 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 <[email protected]> > Cc: Fabiano Rosas <[email protected]> > Signed-off-by: Peter Xu <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
