diff options
author | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2018-03-02 20:42:48 -0500 |
---|---|---|
committer | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2018-03-06 13:00:41 -0500 |
commit | cc7d320f5d98a19eed5aa47b50e2186ba9c29ba7 (patch) | |
tree | 1275c2c84453299ed03bc12bb46f1b3d430586c3 /hw/tpm/trace-events | |
parent | 49d302fe3d4de2b02f77b41f4f7de6d15e392f36 (diff) | |
download | qemu-cc7d320f5d98a19eed5aa47b50e2186ba9c29ba7.zip |
tpm: convert tpm_util.c to use trace-events
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/tpm/trace-events')
-rw-r--r-- | hw/tpm/trace-events | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/tpm/trace-events b/hw/tpm/trace-events index 8557dd9b88..66b2b91661 100644 --- a/hw/tpm/trace-events +++ b/hw/tpm/trace-events @@ -7,3 +7,10 @@ tpm_crb_mmio_write(uint64_t addr, unsigned size, uint32_t val) "CRB write 0x" TA # hw/tpm/tpm_passthrough.c tpm_passthrough_handle_request(void *cmd) "processing command %p" tpm_passthrough_reset(void) "reset" + +# hw/tpm/tpm_util.c +tpm_util_get_buffer_size_hdr_len(uint32_t len, size_t expected) "tpm_resp->hdr.len = %u, expected = %zu" +tpm_util_get_buffer_size_len(uint32_t len, size_t expected) "tpm_resp->len = %u, expected = %zu" +tpm_util_get_buffer_size_hdr_len2(uint32_t len, size_t expected) "tpm2_resp->hdr.len = %u, expected = %zu" +tpm_util_get_buffer_size_len2(uint32_t len, size_t expected) "tpm2_resp->len = %u, expected = %zu" +tpm_util_get_buffer_size(size_t len) "buffersize of device: %zu" |