[PATCH v4 1/2] nvme: add tracepoint for nvme_setup_cmd

Christoph Hellwig hch at lst.de
Mon Jan 22 08:10:27 PST 2018


On Mon, Jan 22, 2018 at 05:04:37PM +0100, Johannes Thumshirn wrote:
> You mean like:
> 	if (ns)
> 		trace_nvme_setup_cmd(cmd);
> 	else
> 		trace_nvme_setup_admin_cmd(cmd);
> 
> ?

Yes.  Although I'd rename trace_nvme_setup_cmd to trace_nvme_setup_nvm_cmd
to prepare for new I/O command sets.



More information about the Linux-nvme mailing list