[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 10/16] hw/uefi: add trace-events
From: |
Gerd Hoffmann |
Subject: |
[PATCH 10/16] hw/uefi: add trace-events |
Date: |
Wed, 15 Nov 2023 16:12:32 +0100 |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
hw/uefi/trace-events | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 hw/uefi/trace-events
diff --git a/hw/uefi/trace-events b/hw/uefi/trace-events
new file mode 100644
index 000000000000..baeda81bbe12
--- /dev/null
+++ b/hw/uefi/trace-events
@@ -0,0 +1,16 @@
+# device
+uefi_reg_read(uint64_t addr, unsigned size) "addr 0x%lx, size %d"
+uefi_reg_write(uint64_t addr, uint64_t val, unsigned size) "addr 0x%lx, val
0x%lx, 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 %ld, 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"
+
+# variable policy protocol
+uefi_vars_policy_cmd(const char *cmd) "cmd %s"
+uefi_vars_policy_deny(const char *reason) "reason %s"
--
2.41.0
- Re: [PATCH 01/16] hw/uefi: add include/hw/uefi/var-service-api.h, (continued)
- [PATCH 15/16] hw/arm: add uefi variable support to virt machine type, Gerd Hoffmann, 2023/11/15
- [PATCH 14/16] hw/uefi: add uefi-vars-isa device, Gerd Hoffmann, 2023/11/15
- [PATCH 08/16] hw/uefi: add var-service-policy.c, Gerd Hoffmann, 2023/11/15
- [PATCH 13/16] hw/uefi: add uefi-vars-sysbus device, Gerd Hoffmann, 2023/11/15
- [PATCH 03/16] hw/uefi: add include/hw/uefi/var-service.h, Gerd Hoffmann, 2023/11/15
- [PATCH 06/16] hw/uefi: add var-service-vars.c, Gerd Hoffmann, 2023/11/15
- [PATCH 02/16] hw/uefi: add include/hw/uefi/var-service-edk2.h, Gerd Hoffmann, 2023/11/15
- [PATCH 10/16] hw/uefi: add trace-events,
Gerd Hoffmann <=
- [PATCH 09/16] hw/uefi: add support for storing persistent variables on disk, Gerd Hoffmann, 2023/11/15
- [PATCH 16/16] docs: add uefi variable service documentation and TODO list., Gerd Hoffmann, 2023/11/15
- Re: [PATCH 00/16] hw/uefi: add uefi variable service, Alexander Graf, 2023/11/20