On 05/24/2013 12:57 PM, Jon Medhurst (Tixy) wrote:
On Fri, 2013-05-24 at 02:03 +0530, naresh.kamboju@linaro.org wrote:
From: Naresh Kamboju naresh.kamboju@linaro.org
I have noticed kernel crash while reading trace file. 'cat /sys/kernel/debug/tracing/trace'
The reason of the kernel crash is few bits in trace.c is missing from Merge tag 'trace-3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace in to linux-linaro. Those are like "struct trace_array *tr " replaced with "struct trace_buffer *buf" and respective changes.
I have applied this patch and tested on linux-linaro branch no more kernel crash reported and trace data is back again.
Signed-off-by: Naresh Kamboju naresh.kamboju@linaro.org
Reviewed-by: Jon Medhurst tixy@linaro.org
Good catch Naresh. I've cc'd John Stultz as it looks like these problems were introduced with the merge of mainline Linux into the linaro-android-3.10-experimental and this patch should be added to that.
Considering the amount of churn in the trace code in 3.10, I wouldn't be 100% confident that we've found all the conflicts with the Android trace patches, but this patch does fix the crashes we were seeing.
Good. I'll do one more linux-linaro rebuild today to get this fix in then?
Thanks, Andrey