]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit03f8b30335cb363c35d9737a3baf89754c160eef
tree6729c3d646606f4c012098cd92ee22692ef4a158
parentdc52163969c7de98d832b3187aec2d2de4e6002f
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