User: Password:
|
|
Subscribe / Log in / New account

Extended error reporting

Extended error reporting

Posted Feb 19, 2010 4:23 UTC (Fri) by PaulWay (subscriber, #45600)
Parent article: Extended error reporting

I'd like to put a mention in here of libexplain - http://libexplain.sourceforge.net - that Peter Miller has worked on for many years. It's purpose is somewhat different - you use it in your code (e.g. 'explain_open') in the place of your regular system calls, and if it fails it prints out a complete message why it failed. This even breaks down to which directory or file was missing in the path you've given to open.

But I think Peter's experience and general approach here would be invaluable as groundwork for making errors better in the kernel.

Have fun,

Paul


(Log in to post comments)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds