qemu/hw/tpm
Philippe Mathieu-Daudé f670a562af hw/tpm: Make TRACE_TPM_UTIL_SHOW_BUFFER check local to tpm_util.c
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>
2020-06-19 07:25:31 -04:00
..
Kconfig hw/tpm: Rename TPMDEV as TPM_BACKEND in Kconfig 2020-06-19 07:24:52 -04:00
Makefile.objs tpm: Add the SysBus TPM TIS device 2020-03-05 12:18:08 -05:00
tpm_crb.c hw/tpm: Remove unnecessary 'tpm_int.h' header inclusion 2020-06-19 07:25:22 -04:00
tpm_emulator.c migration: Define VMSTATE_INSTANCE_ID_ANY 2020-01-20 09:10:23 +01:00
tpm_int.h hw/tpm: Include missing 'qemu/option.h' header 2020-06-19 07:25:07 -04:00
tpm_ioctl.h Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00
tpm_passthrough.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
tpm_ppi.c hw/tpm: Move 'hw/acpi/tpm.h' inclusion from header to sources 2020-06-19 07:25:15 -04:00
tpm_ppi.h hw/tpm: Move 'hw/acpi/tpm.h' inclusion from header to sources 2020-06-19 07:25:15 -04:00
tpm_spapr.c hw/tpm: Remove unnecessary 'tpm_int.h' header inclusion 2020-06-19 07:25:22 -04:00
tpm_tis_common.c hw/tpm: Make TRACE_TPM_UTIL_SHOW_BUFFER check local to tpm_util.c 2020-06-19 07:25:31 -04:00
tpm_tis_isa.c hw/tpm: Move 'hw/acpi/tpm.h' inclusion from header to sources 2020-06-19 07:25:15 -04:00
tpm_tis_sysbus.c hw/tpm: Move 'hw/acpi/tpm.h' inclusion from header to sources 2020-06-19 07:25:15 -04:00
tpm_tis.h hw/tpm: Do not include 'qemu/osdep.h' in header 2020-06-19 07:24:59 -04:00
tpm_util.c hw/tpm: Make TRACE_TPM_UTIL_SHOW_BUFFER check local to tpm_util.c 2020-06-19 07:25:31 -04:00
tpm_util.h tpm: Move tpm_tis_show_buffer to tpm_util.c 2020-02-02 14:07:57 +11:00
trace-events tpm_spapr: Support suspend and resume 2020-02-02 14:07:57 +11:00