Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'trace-3.8-rc2-regression-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace

Pull tracing regression fix from Steven Rostedt:
"A change that came in this merge window broke the writing to the
trace_options file. It causes garbage to be read during the compare
of option names, and breaks setting options via the trace_options
file, although options can still be set via the options/<option>
files."

* tag 'trace-3.8-rc2-regression-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
tracing: Fix regression of trace_options file setting

+2
+2
kernel/trace/trace.c
··· 2899 2899 if (copy_from_user(&buf, ubuf, cnt)) 2900 2900 return -EFAULT; 2901 2901 2902 + buf[cnt] = 0; 2903 + 2902 2904 trace_set_options(buf); 2903 2905 2904 2906 *ppos += cnt;