[PATCH 2/2] tracing: Do not allow stack_tracer to record stack in NMI

2015-10-22 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" The code in stack tracer should not be executed within an NMI as it grabs spinlocks and stack tracing an NMI gives the possibility of causing a deadlock. Although this is safe on x86_64, because it does not perform stack traces when the task struct stack is not

[PATCH 2/2] tracing: Do not allow stack_tracer to record stack in NMI

2015-10-22 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" The code in stack tracer should not be executed within an NMI as it grabs spinlocks and stack tracing an NMI gives the possibility of causing a deadlock. Although this is safe on x86_64, because it does not perform stack traces when the task