Hi Dave,
I've updated the patch, leaving all existing fields and routines.
https://raw.githubusercontent.com/hziSot/crash-patches/master/crash_speed...
Thanks,
Alexandr
________________________________________
From: crash-utility-bounces(a)redhat.com <crash-utility-bounces(a)redhat.com> on behalf
of Dave Anderson <anderson(a)redhat.com>
Sent: Wednesday, August 17, 2016 21:19
To: Discussion list for crash utility usage, maintenance and development
Subject: Re: [Crash-utility] Speed up list/tree '-s' output.
----- Original Message -----
Hi Alexandr,
Right from the get-go, this patch needs to be reworked to maintain
backwards-compability w/respect to pre-existing users of the list_data
structure, and by extension, the do_list(), do_rbtree() and do_rdtree()
functions, which may be used by pre-existing extension modules. While you
do maintain the original -s options to both the list and tree commands, you
rip out the structure members the original data structures used, and the
simple code pieces that used them. So I can't accept that kind of change.
Can you please make it so the original structname and structname_args
members will still be used by the -s options, and segregate your newly
added functionality? You can still add stuff to the end of exported
list_data and tree_data structures.
Thanks,
Dave