xref: /openbmc/qemu/hw/acpi/trace-events (revision 41bcea7b)
1# See docs/devel/tracing.rst for syntax documentation.
2
3# memory_hotplug.c
4mhp_acpi_invalid_slot_selected(uint32_t slot) "0x%"PRIx32
5mhp_acpi_ejecting_invalid_slot(uint32_t slot) "0x%"PRIx32
6mhp_acpi_read_addr_lo(uint32_t slot, uint32_t addr) "slot[0x%"PRIx32"] addr lo: 0x%"PRIx32
7mhp_acpi_read_addr_hi(uint32_t slot, uint32_t addr) "slot[0x%"PRIx32"] addr hi: 0x%"PRIx32
8mhp_acpi_read_size_lo(uint32_t slot, uint32_t size) "slot[0x%"PRIx32"] size lo: 0x%"PRIx32
9mhp_acpi_read_size_hi(uint32_t slot, uint32_t size) "slot[0x%"PRIx32"] size hi: 0x%"PRIx32
10mhp_acpi_read_pxm(uint32_t slot, uint32_t pxm) "slot[0x%"PRIx32"] proximity: 0x%"PRIx32
11mhp_acpi_read_flags(uint32_t slot, uint32_t flags) "slot[0x%"PRIx32"] flags: 0x%"PRIx32
12mhp_acpi_write_slot(uint32_t slot) "set active slot: 0x%"PRIx32
13mhp_acpi_write_ost_ev(uint32_t slot, uint32_t ev) "slot[0x%"PRIx32"] OST EVENT: 0x%"PRIx32
14mhp_acpi_write_ost_status(uint32_t slot, uint32_t st) "slot[0x%"PRIx32"] OST STATUS: 0x%"PRIx32
15mhp_acpi_clear_insert_evt(uint32_t slot) "slot[0x%"PRIx32"] clear insert event"
16mhp_acpi_clear_remove_evt(uint32_t slot) "slot[0x%"PRIx32"] clear remove event"
17mhp_acpi_pc_dimm_deleted(uint32_t slot) "slot[0x%"PRIx32"] pc-dimm deleted"
18mhp_acpi_pc_dimm_delete_failed(uint32_t slot) "slot[0x%"PRIx32"] pc-dimm delete failed"
19
20# cpu.c
21cpuhp_acpi_invalid_idx_selected(uint32_t idx) "0x%"PRIx32
22cpuhp_acpi_read_flags(uint32_t idx, uint8_t flags) "idx[0x%"PRIx32"] flags: 0x%"PRIx8
23cpuhp_acpi_write_idx(uint32_t idx) "set active cpu idx: 0x%"PRIx32
24cpuhp_acpi_write_cmd(uint32_t idx, uint8_t cmd) "idx[0x%"PRIx32"] cmd: 0x%"PRIx8
25cpuhp_acpi_read_cmd_data(uint32_t idx, uint32_t data) "idx[0x%"PRIx32"] data: 0x%"PRIx32
26cpuhp_acpi_read_cmd_data2(uint32_t idx, uint32_t data) "idx[0x%"PRIx32"] data: 0x%"PRIx32
27cpuhp_acpi_cpu_has_events(uint32_t idx, bool ins, bool rm) "idx[0x%"PRIx32"] inserting: %d, removing: %d"
28cpuhp_acpi_clear_inserting_evt(uint32_t idx) "idx[0x%"PRIx32"]"
29cpuhp_acpi_clear_remove_evt(uint32_t idx) "idx[0x%"PRIx32"]"
30cpuhp_acpi_ejecting_invalid_cpu(uint32_t idx) "0x%"PRIx32
31cpuhp_acpi_ejecting_cpu(uint32_t idx) "0x%"PRIx32
32cpuhp_acpi_fw_remove_invalid_cpu(uint32_t idx) "0x%"PRIx32
33cpuhp_acpi_fw_remove_cpu(uint32_t idx) "0x%"PRIx32
34cpuhp_acpi_write_ost_ev(uint32_t slot, uint32_t ev) "idx[0x%"PRIx32"] OST EVENT: 0x%"PRIx32
35cpuhp_acpi_write_ost_status(uint32_t slot, uint32_t st) "idx[0x%"PRIx32"] OST STATUS: 0x%"PRIx32
36
37# pcihp.c
38acpi_pci_eject_slot(unsigned bsel, unsigned slot) "bsel: %u slot: %u"
39acpi_pci_unplug(int bsel, int slot) "bsel: %d slot: %d"
40acpi_pci_unplug_request(int bsel, int slot) "bsel: %d slot: %d"
41acpi_pci_up_read(uint32_t val) "%" PRIu32
42acpi_pci_down_read(uint32_t val) "%" PRIu32
43acpi_pci_features_read(uint32_t val) "%" PRIu32
44acpi_pci_acpi_index_read(uint32_t val) "%" PRIu32
45acpi_pci_acpi_index_write(unsigned bsel, unsigned slot, uint32_t aidx) "bsel: %u slot: %u aidx: %" PRIu32
46acpi_pci_rmv_read(uint32_t val) "%" PRIu32
47acpi_pci_sel_read(uint32_t val) "%" PRIu32
48acpi_pci_ej_write(uint64_t addr, uint64_t data) "0x%" PRIx64 " <== %" PRIu64
49acpi_pci_sel_write(uint64_t addr, uint64_t data) "0x%" PRIx64 " <== %" PRIu64
50
51# piix4.c
52piix4_gpe_readb(uint64_t addr, unsigned width, uint64_t val) "addr: 0x%" PRIx64 " width: %d ==> 0x%" PRIx64
53piix4_gpe_writeb(uint64_t addr, unsigned width, uint64_t val) "addr: 0x%" PRIx64 " width: %d <== 0x%" PRIx64
54
55# tco.c
56tco_timer_reload(int ticks, int msec) "ticks=%d (%d ms)"
57tco_timer_expired(int timeouts_no, bool strap, bool no_reboot) "timeouts_no=%d no_reboot=%d/%d"
58
59# erst.c
60acpi_erst_reg_write(uint64_t addr, uint64_t val, unsigned size) "addr: 0x%04" PRIx64 " <== 0x%016" PRIx64 " (size: %u)"
61acpi_erst_reg_read(uint64_t addr, uint64_t val, unsigned size) " addr: 0x%04" PRIx64 " ==> 0x%016" PRIx64 " (size: %u)"
62acpi_erst_mem_write(uint64_t addr, uint64_t val, unsigned size) "addr: 0x%06" PRIx64 " <== 0x%016" PRIx64 " (size: %u)"
63acpi_erst_mem_read(uint64_t addr, uint64_t val, unsigned size) " addr: 0x%06" PRIx64 " ==> 0x%016" PRIx64 " (size: %u)"
64acpi_erst_pci_bar_0(uint64_t addr) "BAR0: 0x%016" PRIx64
65acpi_erst_pci_bar_1(uint64_t addr) "BAR1: 0x%016" PRIx64
66acpi_erst_realizefn_in(void)
67acpi_erst_realizefn_out(unsigned size) "total nvram size %u bytes"
68acpi_erst_reset_in(unsigned record_count) "record_count %u"
69acpi_erst_reset_out(unsigned record_count) "record_count %u"
70acpi_erst_post_load(void *header, unsigned slot_size) "header: 0x%p slot_size %u"
71acpi_erst_class_init_in(void)
72acpi_erst_class_init_out(void)
73