[ftrace] Define Func class.