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)
commit521cfb8e5a5dd6f2f528d675688f07b962fe4545
treeb14c5175ffe4ea2de7e7f9cc7c9352828996ca4c
parent9581ae4f0facf122a732841959812dea9ed2f422
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