linux-user, arm: add syscall table generation support
[qemu.git] / hw / tpm / trace-events
1 # See docs/devel/tracing.txt for syntax documentation.
2
3 # tpm_crb.c
4 tpm_crb_mmio_read(uint64_t addr, unsigned size, uint32_t val) "CRB read 0x%016" PRIx64 " len:%u val: 0x%" PRIx32
5 tpm_crb_mmio_write(uint64_t addr, unsigned size, uint32_t val) "CRB write 0x%016" PRIx64 " len:%u val: 0x%" PRIx32
6
7 # tpm_passthrough.c
8 tpm_passthrough_handle_request(void *cmd) "processing command %p"
9 tpm_passthrough_reset(void) "reset"
10
11 # tpm_util.c
12 tpm_util_get_buffer_size_hdr_len(uint32_t len, size_t expected) "tpm_resp->hdr.len = %u, expected = %zu"
13 tpm_util_get_buffer_size_len(uint32_t len, size_t expected) "tpm_resp->len = %u, expected = %zu"
14 tpm_util_get_buffer_size_hdr_len2(uint32_t len, size_t expected) "tpm2_resp->hdr.len = %u, expected = %zu"
15 tpm_util_get_buffer_size_len2(uint32_t len, size_t expected) "tpm2_resp->len = %u, expected = %zu"
16 tpm_util_get_buffer_size(size_t len) "buffersize of device: %zu"
17 tpm_util_show_buffer(const char *direction, size_t len, const char *buf) "direction: %s len: %zu\n%s"
18
19 # tpm_emulator.c
20 tpm_emulator_set_locality(uint8_t locty) "setting locality to %d"
21 tpm_emulator_handle_request(void) "processing TPM command"
22 tpm_emulator_probe_caps(uint64_t caps) "capabilities: 0x%"PRIx64
23 tpm_emulator_set_buffer_size(uint32_t buffersize, uint32_t minsize, uint32_t maxsize) "buffer size: %u, min: %u, max: %u"
24 tpm_emulator_startup_tpm_resume(bool is_resume, size_t buffersize) "is_resume: %d, buffer size: %zu"
25 tpm_emulator_get_tpm_established_flag(uint8_t flag) "got established flag: %d"
26 tpm_emulator_cancel_cmd_not_supt(void) "Backend does not support CANCEL_TPM_CMD"
27 tpm_emulator_handle_device_opts_tpm12(void) "TPM Version 1.2"
28 tpm_emulator_handle_device_opts_tpm2(void) "TPM Version 2"
29 tpm_emulator_handle_device_opts_unspec(void) "TPM Version Unspecified"
30 tpm_emulator_handle_device_opts_startup_error(void) "Startup error"
31 tpm_emulator_get_state_blob(uint8_t type, uint32_t size, uint32_t flags) "got state blob type %d, %u bytes, flags 0x%08x"
32 tpm_emulator_set_state_blob(uint8_t type, uint32_t size, uint32_t flags) "set state blob type %d, %u bytes, flags 0x%08x"
33 tpm_emulator_set_state_blobs(void) "setting state blobs"
34 tpm_emulator_set_state_blobs_error(const char *msg) "error while setting state blobs: %s"
35 tpm_emulator_set_state_blobs_done(void) "Done setting state blobs"
36 tpm_emulator_pre_save(void) ""
37 tpm_emulator_inst_init(void) ""
38
39 # tpm_tis.c
40 tpm_tis_raise_irq(uint32_t irqmask) "Raising IRQ for flag 0x%08x"
41 tpm_tis_new_active_locality(uint8_t locty) "Active locality is now %d"
42 tpm_tis_abort(uint8_t locty) "New active locality is %d"
43 tpm_tis_data_read(uint32_t value, uint32_t off) "byte 0x%02x   [%d]"
44 tpm_tis_mmio_read(unsigned size, uint32_t addr, uint32_t val)  " read.%u(0x%08x) = 0x%08x"
45 tpm_tis_mmio_write(unsigned size, uint32_t addr, uint32_t val) "write.%u(0x%08x) = 0x%08x"
46 tpm_tis_mmio_write_locty4(void) "Access to locality 4 only allowed from hardware"
47 tpm_tis_mmio_write_release_locty(uint8_t locty) "Releasing locality %d"
48 tpm_tis_mmio_write_locty_req_use(uint8_t locty) "Locality %d requests use"
49 tpm_tis_mmio_write_next_locty(uint8_t locty) "Next active locality is %d"
50 tpm_tis_mmio_write_locty_seized(uint8_t locty, uint8_t active) "Locality %d seized from locality %d"
51 tpm_tis_mmio_write_init_abort(void) "Initiating abort"
52 tpm_tis_mmio_write_lowering_irq(void) "Lowering IRQ"
53 tpm_tis_mmio_write_data2send(uint32_t value, unsigned size) "Data to send to TPM: 0x%08x (size=%d)"
54 tpm_tis_pre_save(uint8_t locty, uint32_t rw_offset) "locty: %d, rw_offset = %u"
55
56 # tpm_ppi.c
57 tpm_ppi_memset(uint8_t *ptr, size_t size) "memset: %p %zu"
58
59 # hw/tpm/tpm_spapr.c
60 tpm_spapr_show_buffer(const char *direction, size_t len, const char *buf) "direction: %s len: %zu\n%s"
61 tpm_spapr_do_crq(uint8_t raw1, uint8_t raw2) "1st 2 bytes in CRQ: 0x%02x 0x%02x"
62 tpm_spapr_do_crq_crq_result(void) "SPAPR_VTPM_INIT_CRQ_RESULT"
63 tpm_spapr_do_crq_crq_complete_result(void) "SPAPR_VTPM_INIT_CRQ_COMP_RESULT"
64 tpm_spapr_do_crq_tpm_command(void) "got TPM command payload"
65 tpm_spapr_do_crq_tpm_get_rtce_buffer_size(size_t buffersize) "response: buffer size is %zu"
66 tpm_spapr_do_crq_get_version(uint32_t version) "response: version %u"
67 tpm_spapr_do_crq_prepare_to_suspend(void) "response: preparing to suspend"
68 tpm_spapr_do_crq_unknown_msg_type(uint8_t type) "Unknown message type 0x%02x"
69 tpm_spapr_do_crq_unknown_crq(uint8_t raw1, uint8_t raw2) "unknown CRQ 0x%02x 0x%02x ..."
70 tpm_spapr_post_load(void) "Delivering TPM response after resume"
71 tpm_spapr_caught_response(uint32_t v) "Caught response to deliver after resume: %u bytes"