On March 20, 2008 04:27:17 pm Dave Anderson wrote:
Hi Alex,
Nice. Now that's a serious extension!
I'd like to add a reference to the general Python/Crash API as a third main
section to the
http://people.redhat.com/anderson/extensions.html page, with
a subsection within it that references xportshow as an example. (And then
in the future any new commands made the same way could be added.)
If you want to tinker with that html page and send me a copy off-line,
please do so -- I just don't want to butcher the explanation. And
if you don't want to do any html hacking (it's a pretty simple page),
just tell me how you'd like to describe/format it, and I'll take it
from there.
Again, really nice work -- thanks,
Dave
Hi Dave,
I'll edit that page next week. API documentation needs to be updated - as I am
the only developer at this moment (my HP colleagues are just using the built
extension) I was neglecting developer's documentation. Hopefully if extension
becomes popular, HP will let me spend more time working on it. I have many
ideas - e.g. designing a special high-level easy-to-use language describing
how to obtain different variables from different kernels. This should make it
easy to add support for new kernels - but this is in early stages yet (due to
lack of time). If someone interested _both_ in Linux dump-analysis and Python
starts helping me, the progress would be much faster.
BTW, it is possible to use the extension file to add new Python programs
without rebuilding it - you can either put new scripts in directories defined
by an environment variable PYKDUMPPATH, or use 'zip' to add them to the
extension file directly.
Regards,
Alex
--
------------------------------------------------------------------
Alexandre Sidorenko email: alexs(a)hplinux.canada.hp.com
Global Solutions Engineering: Unix Networking
Hewlett-Packard (Canada)
------------------------------------------------------------------