[LTP] [PATCH] lib: add tst_read_meminfo / tst_get_avail_mem

Li Wang liwang@redhat.com
Thu Jun 16 09:32:10 CEST 2016


On Thu, Jun 16, 2016 at 3:08 PM, Jan Stancek <jstancek@redhat.com> wrote:
>
> I'm now considering exposing just a parse function, I'd like to
> avoid having separate function for each proc file. And possibly
> more than one since those 2 proc files you mentioned don't have
> uniform format for all content.

Yes, achieve one parse function for whole proc files is unpractical.
IMO, we could take more consideration for the files frequently opened
in ltp general test.

Regards,
Li Wang


More information about the ltp mailing list