diff options
author | Damien Hedde | 2020-01-30 17:02:03 +0100 |
---|---|---|
committer | Peter Maydell | 2020-01-30 17:02:03 +0100 |
commit | 70804c83f2914acaca74c1789a6b869bd5d1ea67 (patch) | |
tree | 226ed71ebdbbd302f7fd66b98a49fb32b4df2d7e /hw/core/trace-events | |
parent | add device_legacy_reset function to prepare for reset api change (diff) | |
download | qemu-70804c83f2914acaca74c1789a6b869bd5d1ea67.tar.gz qemu-70804c83f2914acaca74c1789a6b869bd5d1ea67.tar.xz qemu-70804c83f2914acaca74c1789a6b869bd5d1ea67.zip |
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>
Diffstat (limited to 'hw/core/trace-events')
-rw-r--r-- | hw/core/trace-events | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hw/core/trace-events b/hw/core/trace-events index fe47a9c8cb..a375aa88a4 100644 --- a/hw/core/trace-events +++ b/hw/core/trace-events @@ -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)" |