initial, minimal support for OS X

Review Request #128909 - Created Sept. 14, 2016 and updated

Information
René J.V. Bertin
libksysguard
master
Reviewers
kde-baseapps, kde-mac

This patch implements initial and rather minimal support for OS X, for now focussing purely on process information. That feature is justified as it is used by KDevelop in order to obtain the list of processes one can attach a debugger to.

Mac OS X is tricky because it requires special privileges in order to obtain certain types of information for any running process. For example, even obtaining the number of threads spawned by a foreign process requires privileges that aren't trivial to set up. I've prepared the terrain, but also implemented a fallback strategy that calls ps to be sure that crucial information like the command name is available for all processes.

On OS X 10.9.5 with Frameworks 5.24.0 and Qt 5.6.1

Files


Issues

  • 0
  • 6
  • 0
  • 6
Description From Last Updated
René J.V. Bertin
Anthony Fieroni
René J.V. Bertin
Aleix Pol Gonzalez
René J.V. Bertin
Aleix Pol Gonzalez
René J.V. Bertin
René J.V. Bertin
René J.V. Bertin
Aleix Pol Gonzalez
René J.V. Bertin
Review request changed

Change Summary:

Hope I didn't introduce any more "wrong indentation" issues resolving the ones in ReniceDlg.cpp, or introduced "separate ticket" issues because the file isn't exactly consistent in its indentation...

Diff:

Revision 7 (+530 -11)

Show changes

Loading...