Closed Max-E closed 10 years ago
Looks lovely to me - thanks for the fix ! =) and yes, I'd struggled with no TASKSTATS in the past and not got to the bottom of it - thanks for that.
Do you currently have a feel for when the next stable version of bootchart2 will be tagged? I'd like to know if it's worth the trouble for me to backport this to 0.14.5.
Max, I'll cut a new release later today. Thanks! UPDATE: released 0.14.6
Awesome, thanks!
The function get_family_id was supposed to return a negative number to indicate that the taskstats API was unavailable. However, its return value was stored to an unsigned variable, so this condition went undetected in the code.
It now returns zero instead of a negative number, and this appears to fix the problem.
Signed-off-by: Max Eliaser max.eliaser@intel.com
This appears to resolve issue #53.