ata: libata: add reset tracepoints
authorHannes Reinecke <hare@suse.de>
Tue, 21 Dec 2021 07:20:29 +0000 (08:20 +0100)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 4 Jan 2022 11:00:57 +0000 (20:00 +0900)
commitf8ec26d0f5bcdb864f771fb6d250d9ed3165eb61
tree6729c3d646606f4c012098cd92ee22692ef4a158
parent4baa5745ec21efdce3470945a3ff6831b3e6c071
ata: libata: add reset tracepoints

To follow the flow of control we should be using tracepoints, as
they will tie in with the actual I/O flow and deliver a better
overview about what it happening.
This patch adds tracepoints for hard reset, soft reset, and postreset
and adds them in the libata-eh control flow.
With that we can drop the reset DPRINTK calls in the various drivers.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/ahci.c
drivers/ata/ahci_qoriq.c
drivers/ata/libahci.c
drivers/ata/libata-core.c
drivers/ata/libata-eh.c
drivers/ata/libata-sff.c
drivers/ata/pata_octeon_cf.c
drivers/ata/sata_fsl.c
drivers/ata/sata_rcar.c
drivers/ata/sata_sil24.c
include/trace/events/libata.h