[Crash-utility] [PATCH 8/11] Helper function to add member info to struct datatype_member

Petr Tesarik ptesarik at suse.cz
Fri Oct 18 11:51:30 UTC 2013


Instead of parsing the complete type on each iteration, move the code
to a helper function. This might be slightly faster, but most
importantly the main loop doesn't need the "structname" and "separator"
variables after this change.

Signed-off-by: Petr Tesarik <ptesarik at suse.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: datatype-member-offset.patch
Type: text/x-patch
Size: 2869 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20131018/ba523f61/attachment.bin>


More information about the Crash-utility mailing list