Comment 5 for bug 172754

Revision history for this message
Bryce Harrington (bryce) wrote :

I also have a couple such scripts, one for capturing X.org crashes, and another for GPU lockups, which I've independently also been thinking might be able to share some code. However the code I think they'd be sharing is just the generic bits pertaining to X.org logs and such; the triggering mechanisms for the two scripts are quite distinct. There is little in them that I think would be of value to other crash handlers in general. What little there is probably could just be rolled into the apport hook utils library itself.

Maybe it'd be sufficient just to make a thorough tutorial on how to write one. This could then outline in a general way how to set up udev hooks, how to attach info, how to test it, etc.