Re: [powerdebug V2: 01/14] encapsulate the options code

2011-03-25 Thread Yong Shen
> > > Ok, I will send the patchset very soon. > > Yong, sorry that will probably make some conflicts with your changes. In > the future, I will send smaller patchset, but more often :) > > That happens, never mind. > Thanks > -- Daniel > > ___ linaro-de

Re: [powerdebug V2: 01/14] encapsulate the options code

2011-03-25 Thread Daniel Lezcano
On 03/25/2011 09:19 AM, Amit Kucheria wrote: Re'adding linaro-dev On 11 Mar 25, Yong Shen wrote: On Fri, Mar 25, 2011 at 2:48 PM, Amit Kucheriawrote: On Fri, Mar 25, 2011 at 4:10 AM, Yong Shen wrote: Hi Daniel, Yes. I had started the work for several days. Previously, every time when clock

Re: [powerdebug V2: 01/14] encapsulate the options code

2011-03-25 Thread Amit Kucheria
Re'adding linaro-dev On 11 Mar 25, Yong Shen wrote: > On Fri, Mar 25, 2011 at 2:48 PM, Amit Kucheria > wrote: > > > On Fri, Mar 25, 2011 at 4:10 AM, Yong Shen wrote: > > > > > Hi Daniel, > > > Yes. I had started the work for several days. > > > Previously, every time when clock info is refreshe

Re: [powerdebug V2: 01/14] encapsulate the options code

2011-03-24 Thread Amit Kucheria
On Fri, Mar 25, 2011 at 4:10 AM, Yong Shen wrote: > Hi Daniel, > Yes. I had started the work for several days. > Previously, every time when clock info is refreshed, the data structure will > be reallocated as if it is the first time of building up clock info. The > goal is only allocating memory

Re: [powerdebug V2: 01/14] encapsulate the options code

2011-03-24 Thread Yong Shen
Hi Daniel, Yes. I had started the work for several days. Previously, every time when clock info is refreshed, the data structure will be reallocated as if it is the first time of building up clock info. The goal is only allocating memory once, which means less system call made by malloc and also r

Re: [powerdebug V2: 01/14] encapsulate the options code

2011-03-24 Thread Daniel Lezcano
On 03/24/2011 10:09 PM, Amit Kucheria wrote: On 11 Mar 23, Daniel Lezcano wrote: Create a single structure for powerdebug options. Signed-off-by: Daniel Lezcano --- powerdebug.c | 173 +- 1 files changed, 98 insertions(+), 75 deletions

Re: [powerdebug V2: 01/14] encapsulate the options code

2011-03-24 Thread Amit Kucheria
On 11 Mar 23, Daniel Lezcano wrote: > Create a single structure for powerdebug options. > > Signed-off-by: Daniel Lezcano > --- > powerdebug.c | 173 > +- > 1 files changed, 98 insertions(+), 75 deletions(-) > Hi Daniel, I've tested an

[powerdebug V2: 01/14] encapsulate the options code

2011-03-23 Thread Daniel Lezcano
Create a single structure for powerdebug options. Signed-off-by: Daniel Lezcano --- powerdebug.c | 173 +- 1 files changed, 98 insertions(+), 75 deletions(-) diff --git a/powerdebug.c b/powerdebug.c index 3f4d60c..efdb1a2 100644 --- a/pow