diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2025-02-25 17:30:19 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2025-03-04 12:07:05 +0100 |
commit | 9282bed590ab54a24659fdcff668d46d7129d946 (patch) | |
tree | 5db0e04f2cdf5235c17a76000ac78e50bdb19a8b | |
parent | 12058948abdf7eed8364aee79add66b40002fd5b (diff) | |
download | qemu-9282bed590ab54a24659fdcff668d46d7129d946.zip qemu-9282bed590ab54a24659fdcff668d46d7129d946.tar.gz qemu-9282bed590ab54a24659fdcff668d46d7129d946.tar.bz2 |
hw/uefi: add trace-events
Add trace events for debugging and trouble shooting.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-ID: <20250225163031.1409078-16-kraxel@redhat.com>
-rw-r--r-- | hw/uefi/trace-events | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/hw/uefi/trace-events b/hw/uefi/trace-events new file mode 100644 index 0000000..3694712 --- /dev/null +++ b/hw/uefi/trace-events @@ -0,0 +1,17 @@ +# device +uefi_reg_read(uint64_t addr, unsigned size) "addr 0x%" PRIx64 ", size %u" +uefi_reg_write(uint64_t addr, uint64_t val, unsigned size) "addr 0x%" PRIx64 ", val 0x%" PRIx64 ", size %d" +uefi_hard_reset(void) "" + +# generic uefi +uefi_variable(const char *context, const char *name, uint64_t size, const char *uuid) "context %s, name %s, size %" PRIu64 ", uuid %s" +uefi_status(const char *context, const char *name) "context %s, status %s" +uefi_event(const char *name) "event %s" + +# variable protocol +uefi_vars_proto_cmd(const char *cmd) "cmd %s" +uefi_vars_security_violation(const char *reason) "reason %s" + +# variable policy protocol +uefi_vars_policy_cmd(const char *cmd) "cmd %s" +uefi_vars_policy_deny(const char *reason) "reason %s" |