[padb] edb fixes

Ashley Pittman ashley at pittman.co.uk
Tue Nov 9 18:00:02 GMT 2010


On 9 Nov 2010, at 18:42, Duncan Thomas wrote:

> The version of edb in padb, which matches the one currently shipped by Vega, doesn't work (specifically, queue extraction doesn't work since the elf reading code can no longer find elan_base).
> 
> The issue seems to be that libelan4.so no longer has a DT_HASH, so you have to walk the symbol table in a linear manner. It was also running into a DT_HASH it couldn't work with in an unnamed dynamic section. The new code just skips unnamed sections since they never contain what we want.
> 
> I'm not sure the new code is 100% correct, but it seems to work unlike what was there before. Comments off people who understand elf structures better very welcome.
> 
> These fixes should find their way into the next Vega release unless problems with them are found.

Is this to fix a problem with reading the message queues?  Given that padb used to work have you been able to test this on a "before" system and verify it still functions correctly?

Ultimately the edb code isn't widely used and if it works for you then I'm happy with it, we could sit down and go over the elf parsing stuff if it suits you.

Ashley.

-- 

Ashley Pittman, Bath, UK.

Padb - A parallel job inspection tool for cluster computing
http://padb.pittman.org.uk





More information about the padb-devel mailing list