[Crash-utility] 答复: [External Mail]Re: zram decompress support for gcore/crash-utility

2020-04-02 Thread 赵乾利
Hi,Dave & hatayama I made two patchs in crash-utility and gcore to support zram decompress 1.In crash-utility,I add patch in readmem to support zram decompression, readmem interface automatically recognizes and decompresses zram data. There are some limitations to zram support,only support lzo

Re: [Crash-utility] [PATCH v2] struct: Allow -r with a single member-specific output

2020-04-02 Thread Dave Anderson
- Original Message - > Hi Dave, > > Dave Anderson wrote on Wed, Apr 01, 2020: > > > I didn't post that v2 back in Feb because I wasn't totally happy with > > > it; I can't say I now am but might as well get your take on it... > > > > What part of this patch aren't you happy about? >

Re: [Crash-utility] 答复: [External Mail]Re: zram decompress support for gcore/crash-utility

2020-04-02 Thread Dave Anderson
- Original Message - > Hi,Dave & hatayama > > I made two patchs in crash-utility and gcore to support zram decompress > 1.In crash-utility,I add patch in readmem to support zram decompression, > readmem interface automatically recognizes and decompresses zram data. > There are some

[Crash-utility] [PATCH] raw_data_dump: display only 8/16/32 bits if requested

2020-04-02 Thread Dominique Martinet
Previously, calling raw_data_dump() with e.g. len 4 on 64bit systems would dump 8 bytes anyway, making it hard to tell what one wants to see. For example, with task_struct.rt_priority a uint32. before patch: crash> struct -r task_struct.rt_priority 8d9b36186180 8d9b361861dc:

Re: [Crash-utility] [PATCH] raw_data_dump: display only 8/16/32 bits if requested

2020-04-02 Thread Dave Anderson
- Original Message - > Previously, calling raw_data_dump() with e.g. len 4 on 64bit systems > would dump 8 bytes anyway, making it hard to tell what one wants to see. > > For example, with task_struct.rt_priority a uint32. > before patch: > crash> struct -r task_struct.rt_priority

Re: [Crash-utility] [PATCH] raw_data_dump: display only 8/16/32 bits if requested

2020-04-02 Thread Dominique Martinet
Dave Anderson wrote on Thu, Apr 02, 2020: > Yes, let's do that -- queued for crash-7.2.9: > > > https://github.com/crash-utility/crash/commit/8c28b5625505241d80ec5162f58ccc563e5e59f9 Thanks! Checked both commits, small wording difference looks good to me. -- Dominique -- Crash-utility