Re: [PATCH 2/2] tracing: Fix for non-continuous cpu ids

2015-06-02 Thread Gilad Ben-Yossef
On Tue, Jun 2, 2015 at 5:26 PM, Steven Rostedt wrote: > On Tue, 2 Jun 2015 16:26:29 +0300 > Gil Fruchter wrote: > >> Currently exception occures due to access beyond buffer_iter >> range while using index of cpu bigger than num_possible_cpus(). >> Below there is an example for such exception when

Re: [PATCH 2/2] tracing: Fix for non-continuous cpu ids

2015-06-02 Thread Steven Rostedt
On Tue, 2 Jun 2015 16:26:29 +0300 Gil Fruchter wrote: > Currently exception occures due to access beyond buffer_iter > range while using index of cpu bigger than num_possible_cpus(). > Below there is an example for such exception when we use > cpus 0,1,16,17. I'm curious, what broken boxes have

[PATCH 2/2] tracing: Fix for non-continuous cpu ids

2015-06-02 Thread Gil Fruchter
Currently exception occures due to access beyond buffer_iter range while using index of cpu bigger than num_possible_cpus(). Below there is an example for such exception when we use cpus 0,1,16,17. In order to fix buffer allocation size for non-continuous cpu ids we allocate according to the max c