Re: [Crash-utility] Faster iteration on list of struct.field

2020-02-05 Thread Dave Anderson
- Original Message - > Hi, > > I often find myself dumping a bunch of addresses to files to iterate > with 'struct_name.field < file_with_addresses', but that is horribly > slow for large number of iterations. > > `help list` comment for -S vs. -s made me try to use `rd` instead, >

Re: [Crash-utility] Faster iteration on list of struct.field

2020-02-05 Thread Dave Anderson
- Original Message - > > > - Original Message - > > Hi, > > > > I often find myself dumping a bunch of addresses to files to iterate > > with 'struct_name.field < file_with_addresses', but that is horribly > > slow for large number of iterations. > > > > `help list` comment

Re: [Crash-utility] Faster iteration on list of struct.field

2020-02-05 Thread Dominique Martinet
Dave Anderson wrote on Wed, Feb 05, 2020: > > What might make sense is to use the "struct -r" option, which does a raw > > memory dump of a data structure. But for a reason I do not recall, it > > prevents that option from being used with a "struct_name.field" argument. > > (see line 6628 of

[Crash-utility] Faster iteration on list of struct.field

2020-02-05 Thread Dominique Martinet
Hi, I often find myself dumping a bunch of addresses to files to iterate with 'struct_name.field < file_with_addresses', but that is horribly slow for large number of iterations. `help list` comment for -S vs. -s made me try to use `rd` instead, e.g. get offset manually from `struct -o` then use