[for-next][PATCH 2/6] ftrace: Add more checks for FTRACE_FL_DISABLED in processing ip records

2016-11-15 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" When a module is first loaded and its function ip records are added to the ftrace list of functions to modify, they are set to DISABLED, as their text is still in a read only state. When the module is fully loaded, and can be updated, the

[for-next][PATCH 2/6] ftrace: Add more checks for FTRACE_FL_DISABLED in processing ip records

2016-11-15 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" When a module is first loaded and its function ip records are added to the ftrace list of functions to modify, they are set to DISABLED, as their text is still in a read only state. When the module is fully loaded, and can be updated, the flag is cleared, and if