LWN.net Logo

Is CONFIG_HAVE_DYNAMIC_FTRACE safe?

Is CONFIG_HAVE_DYNAMIC_FTRACE safe?

Posted Oct 17, 2008 4:11 UTC (Fri) by tetromino (subscriber, #33846)
Parent article: Probable e1000e corruption culprit found (and 2.6.27.1 released)

I do not have CONFIG_DYNAMIC_FTRACE set. However, I do have

CONFIG_HAVE_FTRACE=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_TRACING=y
# CONFIG_FTRACE is not set

in my .config. Am I safe from the ftrace-induced memory corruption?


(Log in to post comments)

Is CONFIG_HAVE_DYNAMIC_FTRACE safe?

Posted Oct 17, 2008 4:33 UTC (Fri) by nevets (subscriber, #11875) [Link]

Yes you are safe.

The CONFIG_HAVE_DYNAMIC_FTRACE is just a way for the architecture to tell the rest of the kernel that it supports dynamic ftrace. The x86 architecture supports it, so that will always be enabled on an x86 build.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds