Failed to enable trace event: nvme:*

Keith Busch kbusch at kernel.org
Fri Jul 21 01:03:30 PDT 2023


On Thu, Jul 20, 2023 at 11:08:41PM +0200, Martin Bayern wrote:
> Not sure why NVMe tracepoints cannot be enabled during the boot phase in Ubuntu, I added "trace_event=nvme:*" in the kernel boot command line, but after booting, I get the following error message:
> 
> "Failed to enable trace event: nvme:*"
> 
> I found Ming Lei posted the same problem on the 2019 Linux-nvme mailing list, but don't know how to fix it.
> 
> Does anyone know why?

I don't think the trace event command line option works for loadable
modules. You have to build it into the kernel.



More information about the Linux-nvme mailing list