On 23 June 2011 10:41, Arjan van de Ven arjan@linux.intel.com 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 problem 2 separate structures are created and their use depends upon the format of the power_frequency events. These changes have been tested to work fine with both old and new kernels as well as on x86 and ARM platform.
eh no
while it was temporarily removed in an -rc, it was added back (as padding) after it was found to break powertop (and abi).
or am I missing something???
Ohh the padding field fixes this issue. Then this patch may not be needed. Thanks Arjan for quick review.