[Crash-utility] improve ps performance

Dave Anderson anderson at prospeed.net
Wed Aug 20 20:23:54 UTC 2014


> Hello dave,
>
> Due to the task_to_pid() function is exported in defs.h and affects
> extension module, I just fix the third part which repeated get the value
> of filepages and spend much time to get the value of rss at the
> get_task_mem_usage() function.
>
> Please check this patch to see detailed information.

Hello Pan,

I currently have just a PC running Windows so I can't really do
much with this patch until I get back from vacation.  One question
I do have however, is how this would work with a live system?  It
seems that you only call your set_ttc_array() function one time
during vm_init().

Dave

>
> Thanks,
>    Pan
> --
> Crash-utility mailing list
> Crash-utility at redhat.com
> https://www.redhat.com/mailman/listinfo/crash-utility




More information about the Crash-utility mailing list