D21146: KProcessInfoList -- add proclist backend for FreeBSD
Tobias C. Berner
noreply at phabricator.kde.org
Sat May 11 22:15:35 BST 2019
tcberner created this revision.
tcberner added reviewers: FreeBSD, adridg, davidedmundson.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
tcberner requested review of this revision.
REVISION SUMMARY
This adds
- unixProcessListKinfoProcStat() to KProcessInfoList to query process info via FreeBSD's procstat library
- FindProcstat.cmake and config-kprocesslist.h.cmake to handle finding and using it
- Additionally, the ps-argument in unixProcessListPS was changed to 'commmand' form 'cmd' for FreeBSD.
- Todo: make it nicer :)
See D20007 <https://phabricator.kde.org/D20007>
TEST PLAN
Totals: 6 passed, 0 failed, 0 skipped, 0 blacklisted, 198ms
********* Finished testing of KProcessListTest *********
REPOSITORY
R244 KCoreAddons
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D21146
AFFECTED FILES
CMakeLists.txt
cmake/FindProcstat.cmake
src/lib/CMakeLists.txt
src/lib/util/config-kprocesslist.h.cmake
src/lib/util/kprocesslist_unix.cpp
To: tcberner, #freebsd, adridg, davidedmundson
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190511/8100b4b3/attachment.html>
More information about the Kde-frameworks-devel
mailing list