[Crash-utility] [PATCH] cgget: -r option doesn't work well on kernel after 3.5

Dave Anderson anderson at redhat.com
Tue Mar 12 14:55:47 UTC 2013



----- Original Message -----
> Hello Dave,
> 
> I found the option -r fails when it comes to blkio subsystem
> on kernel after 3.5. This patch can fix the bug.
> 
> Thanks,
> Zhang Xiaohe

Thanks, the patch has been applied.

BTW, you might want to clean up this warning the next time you update it:

 $ make extensions
 ...
 gcc -Wall -nostartfiles -shared -rdynamic -o cgget.so cgget.c -fPIC -DX86_64  -DGDB_7_3_1
 cgget.c: In function 'read_policy_node':
 cgget.c:2293:11: warning: variable 'dev' set but not used [-Wunused-but-set-variable]
 $

Dave




More information about the Crash-utility mailing list