[Qemu-devel] [PATCH 0/5] Convert the TPM code to use tracing

Stefan Berger posted 5 patches 7 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1520200587-14681-1-git-send-email-stefanb@linux.vnet.ibm.com
Test checkpatch passed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test docker-quick@centos6 passed
Test ppcbe passed
Test ppcle passed
Test s390x passed
Makefile.objs            |  1 +
hw/tpm/tpm_crb.c         | 17 +++------
hw/tpm/tpm_emulator.c    | 45 +++++++++++-----------
hw/tpm/tpm_passthrough.c | 13 ++-----
hw/tpm/tpm_tis.c         | 98 ++++++++++++++++++++++--------------------------
hw/tpm/tpm_util.c        | 29 ++++++--------
hw/tpm/trace-events      | 46 +++++++++++++++++++++++
7 files changed, 135 insertions(+), 114 deletions(-)
create mode 100644 hw/tpm/trace-events
[Qemu-devel] [PATCH 0/5] Convert the TPM code to use tracing
Posted by Stefan Berger 7 years, 7 months ago
This series of patches converts the TPM code to use tracing rather
than the #define DEBUG_XYZ type of debugging.

Regards,
   Stefan

Stefan Berger (5):
  tpm: convert tpm_crb.c to use trace-events
  tpm: convert tpm_passthrough.c to use trace-events
  tpm: convert tpm_util.c to use trace-events
  tpm: convert tpm_emulator.c to use trace-events
  tpm: convert tpm_tis.c to use trace-events

 Makefile.objs            |  1 +
 hw/tpm/tpm_crb.c         | 17 +++------
 hw/tpm/tpm_emulator.c    | 45 +++++++++++-----------
 hw/tpm/tpm_passthrough.c | 13 ++-----
 hw/tpm/tpm_tis.c         | 98 ++++++++++++++++++++++--------------------------
 hw/tpm/tpm_util.c        | 29 ++++++--------
 hw/tpm/trace-events      | 46 +++++++++++++++++++++++
 7 files changed, 135 insertions(+), 114 deletions(-)
 create mode 100644 hw/tpm/trace-events

-- 
2.5.5


Re: [Qemu-devel] [PATCH 0/5] Convert the TPM code to use tracing
Posted by Marc-André Lureau 7 years, 7 months ago
Hi

On Sun, Mar 4, 2018 at 10:56 PM, Stefan Berger
<stefanb@linux.vnet.ibm.com> wrote:
> This series of patches converts the TPM code to use tracing rather
> than the #define DEBUG_XYZ type of debugging.
>
> Regards,
>    Stefan
>
> Stefan Berger (5):
>   tpm: convert tpm_crb.c to use trace-events
>   tpm: convert tpm_passthrough.c to use trace-events
>   tpm: convert tpm_util.c to use trace-events
>   tpm: convert tpm_emulator.c to use trace-events
>   tpm: convert tpm_tis.c to use trace-events

Series:
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>


>
>  Makefile.objs            |  1 +
>  hw/tpm/tpm_crb.c         | 17 +++------
>  hw/tpm/tpm_emulator.c    | 45 +++++++++++-----------
>  hw/tpm/tpm_passthrough.c | 13 ++-----
>  hw/tpm/tpm_tis.c         | 98 ++++++++++++++++++++++--------------------------
>  hw/tpm/tpm_util.c        | 29 ++++++--------
>  hw/tpm/trace-events      | 46 +++++++++++++++++++++++
>  7 files changed, 135 insertions(+), 114 deletions(-)
>  create mode 100644 hw/tpm/trace-events
>
> --
> 2.5.5
>

Re: [Qemu-devel] [PATCH 0/5] Convert the TPM code to use tracing
Posted by Stefan Hajnoczi 7 years, 7 months ago
On Sun, Mar 04, 2018 at 04:56:22PM -0500, Stefan Berger wrote:
> This series of patches converts the TPM code to use tracing rather
> than the #define DEBUG_XYZ type of debugging.
> 
> Regards,
>    Stefan
> 
> Stefan Berger (5):
>   tpm: convert tpm_crb.c to use trace-events
>   tpm: convert tpm_passthrough.c to use trace-events
>   tpm: convert tpm_util.c to use trace-events
>   tpm: convert tpm_emulator.c to use trace-events
>   tpm: convert tpm_tis.c to use trace-events
> 
>  Makefile.objs            |  1 +
>  hw/tpm/tpm_crb.c         | 17 +++------
>  hw/tpm/tpm_emulator.c    | 45 +++++++++++-----------
>  hw/tpm/tpm_passthrough.c | 13 ++-----
>  hw/tpm/tpm_tis.c         | 98 ++++++++++++++++++++++--------------------------
>  hw/tpm/tpm_util.c        | 29 ++++++--------
>  hw/tpm/trace-events      | 46 +++++++++++++++++++++++
>  7 files changed, 135 insertions(+), 114 deletions(-)
>  create mode 100644 hw/tpm/trace-events
> 
> -- 
> 2.5.5
> 
> 

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Re: [Qemu-devel] [PATCH 0/5] Convert the TPM code to use tracing
Posted by Stefan Berger 7 years, 7 months ago
On 03/06/2018 09:48 AM, Stefan Hajnoczi wrote:
> On Sun, Mar 04, 2018 at 04:56:22PM -0500, Stefan Berger wrote:
>> This series of patches converts the TPM code to use tracing rather
>> than the #define DEBUG_XYZ type of debugging.
>>
>> Regards,
>>     Stefan
>>
>> Stefan Berger (5):
>>    tpm: convert tpm_crb.c to use trace-events
>>    tpm: convert tpm_passthrough.c to use trace-events
>>    tpm: convert tpm_util.c to use trace-events
>>    tpm: convert tpm_emulator.c to use trace-events
>>    tpm: convert tpm_tis.c to use trace-events
>>
>>   Makefile.objs            |  1 +
>>   hw/tpm/tpm_crb.c         | 17 +++------
>>   hw/tpm/tpm_emulator.c    | 45 +++++++++++-----------
>>   hw/tpm/tpm_passthrough.c | 13 ++-----
>>   hw/tpm/tpm_tis.c         | 98 ++++++++++++++++++++++--------------------------
>>   hw/tpm/tpm_util.c        | 29 ++++++--------
>>   hw/tpm/trace-events      | 46 +++++++++++++++++++++++
>>   7 files changed, 135 insertions(+), 114 deletions(-)
>>   create mode 100644 hw/tpm/trace-events
>>
>> -- 
>> 2.5.5
>>
>>
> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

Thanks all!


     Stefan