]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: trace all async notice events
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Mon, 13 May 2019 17:46:05 +0000 (10:46 -0700)
committerChristoph Hellwig <hch@lst.de>
Tue, 14 May 2019 15:19:47 +0000 (17:19 +0200)
commit857c43ec371f328bcc12a09b9c9816467adddddf
treeb14c5175ffe4ea2de7e7f9cc7c9352828996ca4c
parentd7b7cf959c0830846c1ae343225a4c93289f0de3
nvme: trace all async notice events

This patch removes the tracing of the NVMe Async events out of the
switch so that it can trace all the events including the ones which
are not handled in the nvme_handle_aen_notice(). The events which
are not handled in the nvme_handle_aen_notice() such as
NVME_AER_NOTICE_DISC_CHANGED corresponding event identifier needs
to be added in the drivers/nvme/host/trace.h so that it can stringify
the AER .

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c
drivers/nvme/host/trace.h