Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does the kernprof command say,”kernprof: kernel does not support call graph mode”?

0
Posted

Why does the kernprof command say,”kernprof: kernel does not support call graph mode”?

0

If kernprof (and the kernel) works for “-t pc” mode, but for “-t cg”, “-t scg”, and various other modes you see the error kernprof: kernel does not support call graph mode, then you have probably built the kernel with CONFIG_MCOUNT turned off. Turn on this option (in the “Kernel hacks” subsection). However, for i386 kernels you must apply the gcc patch prior to building the kernel with CONFIG_MCOUNT turned on.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123