[igt-dev] [PATCH i-g-t] Use the new procps library libproc2
Craig Small
csmall at dropbear.xyz
Thu Nov 17 09:05:03 UTC 2022
Hi Petri,
Yes I am the author of the patch.
Feel free to adjust the follow, for example I'm not 100% sure how you
section your program up.
igt_core: Link to libproc2
libprocps, the library that provides information out of the proc filesystem,
has been renamed to libproc2 and has a new API.
This change will use either library and, for the newer one extracts the
values
once, rather than parsing the pids_info over and over.
Signed-off-by: Craig Small <csmall at dropbear.xyz>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/igt-dev/attachments/20221117/cf33ec73/attachment.htm>
More information about the igt-dev
mailing list