Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hw/core/qdev: add trace events to help with resettable transition
Adds trace events to reset procedure and when updating the parent bus of a device. Signed-off-by: Damien Hedde <damien.hedde@greensocs.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20200123132823.1117486-3-damien.hedde@greensocs.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
- Loading branch information
Showing
2 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
# loader.c | ||
loader_write_rom(const char *name, uint64_t gpa, uint64_t size, bool isrom) "%s: @0x%"PRIx64" size=0x%"PRIx64" ROM=%d" | ||
|
||
# qdev.c | ||
qdev_reset(void *obj, const char *objtype) "obj=%p(%s)" | ||
qdev_reset_all(void *obj, const char *objtype) "obj=%p(%s)" | ||
qdev_reset_tree(void *obj, const char *objtype) "obj=%p(%s)" | ||
qbus_reset(void *obj, const char *objtype) "obj=%p(%s)" | ||
qbus_reset_all(void *obj, const char *objtype) "obj=%p(%s)" | ||
qbus_reset_tree(void *obj, const char *objtype) "obj=%p(%s)" | ||
qdev_update_parent_bus(void *obj, const char *objtype, void *oldp, const char *oldptype, void *newp, const char *newptype) "obj=%p(%s) old_parent=%p(%s) new_parent=%p(%s)" |