xref: /openbmc/qemu/backends/tpm/trace-events (revision 7d87775f)
1# See docs/devel/tracing.rst for syntax documentation.
2
3# tpm_passthrough.c
4tpm_passthrough_handle_request(void *cmd) "processing command %p"
5tpm_passthrough_reset(void) "reset"
6
7# tpm_util.c
8tpm_util_get_buffer_size_hdr_len(uint32_t len, size_t expected) "tpm_resp->hdr.len = %u, expected = %zu"
9tpm_util_get_buffer_size_len(uint32_t len, size_t expected) "tpm_resp->len = %u, expected = %zu"
10tpm_util_get_buffer_size_hdr_len2(uint32_t len, size_t expected) "tpm2_resp->hdr.len = %u, expected = %zu"
11tpm_util_get_buffer_size_len2(uint32_t len, size_t expected) "tpm2_resp->len = %u, expected = %zu"
12tpm_util_get_buffer_size(size_t len) "buffersize of device: %zu"
13tpm_util_show_buffer_header(const char *direction, size_t len) "direction: %s len: %zu"
14tpm_util_show_buffer_content(const char *buf) "%s"
15
16# tpm_emulator.c
17tpm_emulator_set_locality(uint8_t locty) "setting locality to %d"
18tpm_emulator_handle_request(void) "processing TPM command"
19tpm_emulator_probe_caps(uint32_t caps) "capabilities: 0x%x"
20tpm_emulator_set_buffer_size(uint32_t buffersize, uint32_t minsize, uint32_t maxsize) "buffer size: %u, min: %u, max: %u"
21tpm_emulator_startup_tpm_resume(bool is_resume, size_t buffersize) "is_resume: %d, buffer size: %zu"
22tpm_emulator_get_tpm_established_flag(uint8_t flag) "got established flag: %d"
23tpm_emulator_cancel_cmd_not_supt(void) "Backend does not support CANCEL_TPM_CMD"
24tpm_emulator_lock_storage_cmd_not_supt(void) "Backend does not support LOCK_STORAGE"
25tpm_emulator_vm_state_change(int running, int state) "state change to running %d state %d"
26tpm_emulator_handle_device_opts_tpm12(void) "TPM Version 1.2"
27tpm_emulator_handle_device_opts_tpm2(void) "TPM Version 2"
28tpm_emulator_handle_device_opts_unspec(void) "TPM Version Unspecified"
29tpm_emulator_handle_device_opts_startup_error(void) "Startup error"
30tpm_emulator_get_state_blob(uint8_t type, uint32_t size, uint32_t flags) "got state blob type %d, %u bytes, flags 0x%08x"
31tpm_emulator_set_state_blob(uint8_t type, uint32_t size, uint32_t flags) "set state blob type %d, %u bytes, flags 0x%08x"
32tpm_emulator_set_state_blobs(void) "setting state blobs"
33tpm_emulator_set_state_blobs_error(const char *msg) "error while setting state blobs: %s"
34tpm_emulator_set_state_blobs_done(void) "Done setting state blobs"
35tpm_emulator_pre_save(void) ""
36tpm_emulator_inst_init(void) ""
37