Re: [PATCH powertop2.0] Modification to fix the removal of lock_depth field

2011-06-23 Thread Arjan van de Ven
On 6/22/2011 10:12 PM, Amit Daniel Kachhap wrote: lock_depth field is removed from the power frequency events in the new linux kernel(2.6.38 onwards). So this creates issue to retrieve the lower members of the trace data. To fix this problem 2 separate structures are created and their use depends

Re: [PATCH powertop2.0] Modification to fix the removal of lock_depth field

2011-06-22 Thread Amit Kachhap
On 23 June 2011 10:41, Arjan van de Ven wrote: > On 6/22/2011 10:12 PM, Amit Daniel Kachhap wrote: >> >> lock_depth field is removed from the power frequency events in the >> new linux kernel(2.6.38 onwards). So this creates issue to retrieve >> the lower members of the trace data. To fix this pro

[PATCH powertop2.0] Modification to fix the removal of lock_depth field

2011-06-22 Thread Amit Daniel Kachhap
lock_depth field is removed from the power frequency events in the new linux kernel(2.6.38 onwards). So this creates issue to retrieve the lower members of the trace data. To fix this problem 2 separate structures are created and their use depends upon the format of the power_frequency events. Thes