[Crash-utility] dev command deteriorates with new kernels

Dave Anderson anderson at redhat.com
Fri Jun 5 14:53:33 UTC 2009


Bob Montgomery wrote:
> With respect to character devices:
>
 > ... [snip] ...
> 
> I can come up with believable file_ops values for (most? all?) of the
> others.  And this leads me to wonder if crash shouldn't be collecting
> this info in a similar manner to fill in the other OPERATIONS fields.
> But now I'm quite a bit past what I know about how the character device
> stuff works.
> 
> 
> Thanks,
> Bob Montgomery
> Working at HP

I've attached what I'm going with.  I've added the capability of getting
the file_operations from the cdev_map when necessary.  The block device
code was also suffering from bit-rot as well, and so I put in a new
collector function that uses the bdev_map as well.

Thanks,
   Dave

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dev_command.patch
Type: text/x-patch
Size: 14677 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20090605/ead255f6/attachment.bin>


More information about the Crash-utility mailing list