Re: [PATCH] tracing: Fix align of static buffer

2020-11-26 Thread Minchan Kim
On Thu, Nov 26, 2020 at 10:04:28PM +0900, Youngmin Nam wrote: > Hi Minchan, > > Feel free to add my: > > Tested-by: Youngmin Nam Thanks for the testing, Youngmin!

Re: [PATCH] tracing: Fix align of static buffer

2020-11-26 Thread Youngmin Nam
Hi Minchan, Feel free to add my: Tested-by: Youngmin Nam

Re: [PATCH] tracing: Fix align of static buffer

2020-11-26 Thread Namhyung Kim
Hi Greg, On Thu, Nov 26, 2020 at 2:52 PM Greg KH wrote: > > On Wed, Nov 25, 2020 at 02:56:54PM -0800, Minchan Kim wrote: > > With 5.9 kernel on ARM64, I found ftrace_dump output was broken but > > it had no problem with normal output "cat /sys/kernel/debug/tracing/trace". > > > > With

Re: [PATCH] tracing: Fix align of static buffer

2020-11-25 Thread Greg KH
On Wed, Nov 25, 2020 at 02:56:54PM -0800, Minchan Kim wrote: > With 5.9 kernel on ARM64, I found ftrace_dump output was broken but > it had no problem with normal output "cat /sys/kernel/debug/tracing/trace". > > With investigation, it seems coping the data into temporal buffer seems to > break

[PATCH] tracing: Fix align of static buffer

2020-11-25 Thread Minchan Kim
With 5.9 kernel on ARM64, I found ftrace_dump output was broken but it had no problem with normal output "cat /sys/kernel/debug/tracing/trace". With investigation, it seems coping the data into temporal buffer seems to break the align binary printf expects if the static buffer is not aligned with