[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 07/10] ACPI ERST: trace support
From: |
Eric DeVolder |
Subject: |
[PATCH v5 07/10] ACPI ERST: trace support |
Date: |
Wed, 30 Jun 2021 15:07:18 -0400 |
Provide the definitions needed to support tracing in ACPI ERST.
Signed-off-by: Eric DeVolder <eric.devolder@oracle.com>
---
hw/acpi/trace-events | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/hw/acpi/trace-events b/hw/acpi/trace-events
index dcc1438..a5c2755 100644
--- a/hw/acpi/trace-events
+++ b/hw/acpi/trace-events
@@ -55,3 +55,17 @@ piix4_gpe_writeb(uint64_t addr, unsigned width, uint64_t
val) "addr: 0x%" PRIx64
# tco.c
tco_timer_reload(int ticks, int msec) "ticks=%d (%d ms)"
tco_timer_expired(int timeouts_no, bool strap, bool no_reboot) "timeouts_no=%d
no_reboot=%d/%d"
+
+# erst.c
+acpi_erst_reg_write(uint64_t addr, uint64_t val, unsigned size) "addr: 0x%04"
PRIx64 " <== 0x%016" PRIx64 " (size: %u)"
+acpi_erst_reg_read(uint64_t addr, uint64_t val, unsigned size) " addr: 0x%04"
PRIx64 " ==> 0x%016" PRIx64 " (size: %u)"
+acpi_erst_mem_write(uint64_t addr, uint64_t val, unsigned size) "addr: 0x%06"
PRIx64 " <== 0x%016" PRIx64 " (size: %u)"
+acpi_erst_mem_read(uint64_t addr, uint64_t val, unsigned size) " addr: 0x%06"
PRIx64 " ==> 0x%016" PRIx64 " (size: %u)"
+acpi_erst_pci_bar_0(uint64_t addr) "BAR0: 0x%016" PRIx64
+acpi_erst_pci_bar_1(uint64_t addr) "BAR1: 0x%016" PRIx64
+acpi_erst_realizefn_in(void)
+acpi_erst_realizefn_out(unsigned size) "total nvram size %u bytes"
+acpi_erst_reset_in(unsigned record_count) "record_count %u"
+acpi_erst_reset_out(unsigned record_count) "record_count %u"
+acpi_erst_class_init_in(void)
+acpi_erst_class_init_out(void)
--
1.8.3.1
- [PATCH v5 00/10] acpi: Error Record Serialization Table, ERST, support for QEMU, Eric DeVolder, 2021/06/30
- [PATCH v5 01/10] ACPI ERST: bios-tables-test.c steps 1 and 2, Eric DeVolder, 2021/06/30
- [PATCH v5 04/10] ACPI ERST: header file for ERST, Eric DeVolder, 2021/06/30
- [PATCH v5 02/10] ACPI ERST: specification for ERST support, Eric DeVolder, 2021/06/30
- [PATCH v5 03/10] ACPI ERST: PCI device_id for ERST, Eric DeVolder, 2021/06/30
- [PATCH v5 07/10] ACPI ERST: trace support,
Eric DeVolder <=
- [PATCH v5 08/10] ACPI ERST: create ACPI ERST table for pc/x86 machines., Eric DeVolder, 2021/06/30
- [PATCH v5 05/10] ACPI ERST: support for ACPI ERST feature, Eric DeVolder, 2021/06/30
- [PATCH v5 06/10] ACPI ERST: build the ACPI ERST table, Eric DeVolder, 2021/06/30
- [PATCH v5 09/10] ACPI ERST: qtest for ERST, Eric DeVolder, 2021/06/30
- [PATCH v5 10/10] ACPI ERST: step 6 of bios-tables-test.c, Eric DeVolder, 2021/06/30