[PATCH 8/9] ftrace: Add check for NULL regs if ops has SAVE_REGS set

2013-07-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" If a ftrace ops is registered with the SAVE_REGS flag set, and there's already a ops registered to one of its functions but without the SAVE_REGS flag, there's a small race window where the SAVE_REGS ops gets added to the list of callbacks to call for that functio

[for-next-3.11][PATCH 8/9] ftrace: Add check for NULL regs if ops has SAVE_REGS set

2013-07-24 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" If a ftrace ops is registered with the SAVE_REGS flag set, and there's already a ops registered to one of its functions but without the SAVE_REGS flag, there's a small race window where the SAVE_REGS ops gets added to the list of callbacks to call for that functio