[GIT PULL v2] tracing/NMI/printk: Use seq_buf for safe printing from NMI context

2014-12-12 Thread Steven Rostedt
Linus, This code is a fork from the trace-3.19 pull as it needed the trace_seq clean ups from that branch. This code solves the issue of performing stack dumps from NMI context. The issue is that printk() is not safe from NMI context as if the NMI were to trigger when a printk() was being

[GIT PULL v2] tracing/NMI/printk: Use seq_buf for safe printing from NMI context

2014-12-12 Thread Steven Rostedt
Linus, This code is a fork from the trace-3.19 pull as it needed the trace_seq clean ups from that branch. This code solves the issue of performing stack dumps from NMI context. The issue is that printk() is not safe from NMI context as if the NMI were to trigger when a printk() was being