Latest working kernel version: 2.6.27 Earliest failing kernel version: 2.6.28-rc1 Distribution: deb Hardware Environment: x86 Software Environment: Problem Description: In 777e208d40d0953efc6fb4ab58590da3f7d8f02d we changed from outputting field->cpu (a char) to iter->cpu (unsigned int), increasing the resulting structure size by 3 bytes. sysprof built for 2.6.27's sysprof tracer fails for 2.6.28 (worse than a rebuild, since ftrace doesn't give us exported headers of structures to consume!) Steps to reproduce:
Created attachment 18683 [details] fix the abi regression
> In 777e208d40d0953efc6fb4ab58590da3f7d8f02d we changed from > outputting field->cpu (a char) to iter->cpu (unsigned int), > increasing the resulting structure size by 3 bytes. sysprof built > for 2.6.27's sysprof tracer fails for 2.6.28 it's in debugfs, so not really considered an ABI - sysprof for a specific kernel version should go hand in hand with that kernel source - at least until the framework stabilizes enough. But the fix looks simple enough. Ingo
Handled-By : Eric Anholt <eric@anholt.net> Patch : http://bugzilla.kernel.org/attachment.cgi?id=18683&action=view
Fixed by commit 072ba49838b42c873c496d72c91bb237914cf3b6.