1. 27 Sep, 2020 1 commit
  2. 23 Sep, 2020 2 commits
  3. 22 Sep, 2020 1 commit
  4. 21 Sep, 2020 4 commits
  5. 20 Sep, 2020 1 commit
  6. 18 Sep, 2020 1 commit
    • David Redondo's avatar
      Fix cgroup regex name matching · 5af911ee
      David Redondo authored
      The current state is an example of good enough but not correct. There were two
      issues. The first one is that I accidentally used the wrong kind of brackets.
      Secondly we need to  escape only after matching because the name could contain
      escaped dashes.
      5af911ee
  7. 17 Sep, 2020 3 commits
  8. 15 Sep, 2020 1 commit
  9. 14 Sep, 2020 1 commit
    • Arjen Hiemstra's avatar
      Rework CGroup PID reading runnable to prevent crashes · f0512a6a
      Arjen Hiemstra authored
      Sometimes the CGroup gets deleted before the Runnable finishes, causing
      a crash when we try to lock the PID lock. Since we have no way of
      tracking the CGroup object lifetime, rework the code to instead have the
      CGroup wait on the runnable when needed. Effectively this turns the
      runnable into more of a Future.
      f0512a6a
  10. 07 Sep, 2020 1 commit
    • Arjen Hiemstra's avatar
      Do not use QStringView of a temporary · d5876529
      Arjen Hiemstra authored
      QString::mid() return a temporary QString. QStringView doesn't actually
      hold any reference to data, so the temporary gets deleted somewhere
      after we create the string view, which makes the string view invalid. So
      instead, use QStringRef here for which there is a separate method.
      d5876529
  11. 06 Sep, 2020 1 commit
  12. 03 Sep, 2020 4 commits
  13. 02 Sep, 2020 2 commits
    • Arjen Hiemstra's avatar
      Add missing Updates alias to Process · f0b89c98
      Arjen Hiemstra authored
      f0b89c98
    • Arjen Hiemstra's avatar
      Move reading of /proc/pid/smaps_rollup to a separate thread · 23852597
      Arjen Hiemstra authored
      As it turns out, smaps/smaps_rollup are fairly slow to read because the
      kernel iterates all the memory of a process when this file is accessed.
      This caused the update time of all processes to go up from ~30 ms to
      more than 200ms.
      
      This changes things to do the reading of smaps_rollup in a separate
      thread that doesn't block the main update. This reduces update time to
      ~50ms, which is noticably better. To accomodate the asynchronous nature,
      some additional functionality needed to be added so we can notify
      Processes of the asynchronous update.
      23852597
  14. 31 Aug, 2020 1 commit
  15. 29 Aug, 2020 1 commit
  16. 27 Aug, 2020 1 commit
    • Arjen Hiemstra's avatar
      Prevent CGroup object deletion from crashing the application · da9b3d62
      Arjen Hiemstra authored
      In certain cases, a race condition seems to come up where the PID
      retrieval thread tries to set the PIDs while the cgroup object is being
      deleted. So lock the mutex in the destructor, so that if that should
      happen, destruction will block while the PIDs are being updated.
      da9b3d62
  17. 25 Aug, 2020 1 commit
  18. 19 Aug, 2020 1 commit
  19. 18 Aug, 2020 5 commits
  20. 17 Aug, 2020 3 commits
  21. 12 Aug, 2020 1 commit
  22. 11 Aug, 2020 2 commits
  23. 10 Aug, 2020 1 commit