mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 04:13:39 +08:00
f670a562af
The trace_event_get_state_backends() call is useful to avoid making extensive calls (usually preparing arguments passed to the tracing framework. In this case, the extensive work is done in tpm_util_show_buffer(), and the arguments used to call it don't involve extra processing. Simplify by moving the TRACE_TPM_UTIL_SHOW_BUFFER check to tpm_util_show_buffer. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Stefan Berger <stefanb@linux.ibm.com> Message-id: 20200612085444.8362-9-philmd@redhat.com Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile.objs | ||
tpm_crb.c | ||
tpm_emulator.c | ||
tpm_int.h | ||
tpm_ioctl.h | ||
tpm_passthrough.c | ||
tpm_ppi.c | ||
tpm_ppi.h | ||
tpm_spapr.c | ||
tpm_tis_common.c | ||
tpm_tis_isa.c | ||
tpm_tis_sysbus.c | ||
tpm_tis.h | ||
tpm_util.c | ||
tpm_util.h | ||
trace-events |