Review Request 109385: Fix parse error in advanced memroy information for 3.8 kernels

Ralf Jung post+kde at ralfj.de
Sun Mar 10 09:54:44 GMT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109385/
-----------------------------------------------------------

Review request for kde-workspace.


Description
-------

This patch fixes a parse error which the advanced memory information shows for 3.8 kernels. These kernels have new lines like this in /proc/*/smaps:

  VmFlags: rd ex

I changed the script to explicitly ignore these. It may be more future-proof to just ignore all unknown lines - please tell me if that solution is preferred.

I intend to push this to stable and master.


This addresses bug 314818.
    http://bugs.kde.org/show_bug.cgi?id=314818


Diffs
-----

  libs/ksysguard/scripts/smaps/main.js fb938c4 

Diff: http://git.reviewboard.kde.org/r/109385/diff/


Testing
-------

Compiled, installed, tested that "Advanced Memory Information" is working again.


Thanks,

Ralf Jung

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20130310/161501e3/attachment.htm>


More information about the kde-core-devel mailing list