OSDN Git Service

IDE: replace DEBUG_IDE with tracing system
authorJohn Snow <jsnow@redhat.com>
Mon, 18 Sep 2017 19:01:25 +0000 (15:01 -0400)
committerJohn Snow <jsnow@redhat.com>
Mon, 18 Sep 2017 19:01:25 +0000 (15:01 -0400)
commit3eee2611dd89b2713eab4e33a6195add1fa6af32
treebc06f91c5af08625226e3084a65c7d11fddf7916
parent4c93950659487c7ad4f85571ee78524c1e3a94b3
IDE: replace DEBUG_IDE with tracing system

Remove the DEBUG_IDE preprocessor definition with something more
appropriately flexible, using the trace-events subsystem.

This will be less prone to bitrot and will more effectively allow
us to target just the functions we care about.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20170901001502.29915-2-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Makefile.objs
hw/ide/cmd646.c
hw/ide/core.c
hw/ide/pci.c
hw/ide/piix.c
hw/ide/trace-events [new file with mode: 0644]
hw/ide/via.c
include/hw/ide/internal.h