[libtaskmanager] Port to lighter KProcessList
ClosedPublic

Authored by davidedmundson on Aug 15 2019, 3:34 PM.

Details

Summary

Only fetches the properties name and command.
Avoids bringing a libksysguard dependency into libtaskmanager.

I also checked that we don't have a space at the end of the command.
That appears to be a relic from an older time.

Test Plan

Unit tests exist on KProcessList.

Task manager applications appear fine, I don't know any good edge cases
that go through this code to test.

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Aug 15 2019, 3:34 PM
Restricted Application added a project: Plasma. · View Herald TranscriptAug 15 2019, 3:34 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson requested review of this revision.Aug 15 2019, 3:34 PM
apol accepted this revision.Aug 18 2019, 12:18 AM
apol added a subscriber: apol.

LGTM

This revision is now accepted and ready to land.Aug 18 2019, 12:18 AM
This revision was automatically updated to reflect the committed changes.