Re: [RFC][PATCH] tracing: Add trace_printk_ptr() to force non use of trace_bprintk()

2016-06-29 Thread Jiri Olsa
On Tue, Jun 28, 2016 at 07:19:29PM -0400, Steven Rostedt wrote: > trace_printk() is a very helpful tool for debugging the kernel. It adds > lots of tricks to optimize itself to prevent any "heisenbugs". That is, > having the addition of tracing cause the bug to change its timing and > disappear. On

[RFC][PATCH] tracing: Add trace_printk_ptr() to force non use of trace_bprintk()

2016-06-28 Thread Steven Rostedt
trace_printk() is a very helpful tool for debugging the kernel. It adds lots of tricks to optimize itself to prevent any "heisenbugs". That is, having the addition of tracing cause the bug to change its timing and disappear. One of this tricks is to use trace_bprintk() when possible, which just sto