Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Introduce METER_BUFFER_CHECK and METER_BUFFER_APPEND_CHR to cleanup writing ↵ | Christian Göttsche | 2020-12-06 | 1 | -25/+10 |
| | | | | | | to bar buffers Closes: #294 | ||||
* | Use size_t as type for buffer length in Process | Christian Göttsche | 2020-12-06 | 1 | -1/+1 |
| | |||||
* | Use size_t as len type for Meter_UpdateValues | Christian Göttsche | 2020-12-06 | 4 | -8/+12 |
| | | | | Most of the time the parameter is passed to snprintf type functions | ||||
* | IWYU update | Christian Göttsche | 2020-12-06 | 6 | -8/+4 |
| | |||||
* | Initialize buffer for retrieved path | Benny Baumann | 2020-12-06 | 1 | -1/+2 |
| | | | | | | This avoids a warning on GCC 11. Fixes #369 | ||||
* | LinuxProcessList: add underscore suffix for raw struct name | Christian Göttsche | 2020-12-05 | 1 | -1/+1 |
| | | | | Fit the general coding style | ||||
* | Resolve conversion from ssize_t to int for readlink return value | Christian Göttsche | 2020-12-05 | 1 | -1/+1 |
| | |||||
* | Convert personal copyright authorship to team | Christian Göttsche | 2020-12-04 | 4 | -4/+4 |
| | |||||
* | Linux: avoid float division by 0 after system sleep | Christian Göttsche | 2020-12-03 | 1 | -2/+3 |
| | | | | | linux/LinuxProcessList.c:1403:63: runtime error: division by zero SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior linux/LinuxProcessList.c:1403:63 in | ||||
* | Add Linux cwd process column | Christian Göttsche | 2020-12-03 | 3 | -1/+48 |
| | |||||
* | Dynamically load libsensors at runtime | Christian Göttsche | 2020-12-02 | 5 | -48/+136 |
| | |||||
* | Add xReadfile wrapper for reading small to medium size files | Christian Göttsche | 2020-12-02 | 3 | -134/+31 |
| | | | | | | Inspired by proposed Linux syscall Avoid file descriptor leaks like 4af8c63f | ||||
* | PressureStallMeter: improve display strings | Christian Göttsche | 2020-12-02 | 1 | -12/+19 |
| | | | | | - Shorten name for header setup menu - Improve caption in bar mode | ||||
* | Use String_eq for readability and consistency | Christian Göttsche | 2020-12-02 | 1 | -3/+3 |
| | |||||
* | Add cast to unsigned char to avoid signed char misuse | Christian Göttsche | 2020-12-02 | 1 | -1/+1 |
| | |||||
* | Merge identical conditional branches | Christian Göttsche | 2020-12-02 | 2 | -6/+2 |
| | |||||
* | Drop redundant return statements | Christian Göttsche | 2020-12-02 | 1 | -2/+0 |
| | |||||
* | Linux: fix process parsing for hidden pid directories | Christian Göttsche | 2020-11-29 | 1 | -2/+2 |
| | |||||
* | Typo | Christian Göttsche | 2020-11-28 | 1 | -1/+1 |
| | |||||
* | Update even more snprintfs | Christian Göttsche | 2020-11-28 | 1 | -2/+2 |
| | | | | Use size of actual buffers instead of magic numbers | ||||
* | Use 'N/A' instead of 'no perm' for more consistency | Benny Baumann | 2020-11-28 | 1 | -2/+2 |
| | |||||
* | Fix reading of device nodes > 2 chars from memory maps | Daniel Lange | 2020-11-28 | 1 | -4/+4 |
| | |||||
* | Add compat mode for systems without openat(2) | Christian Göttsche | 2020-11-28 | 1 | -41/+63 |
| | |||||
* | LinuxProcessList: use openat instead of building path strings | Christian Göttsche | 2020-11-28 | 1 | -96/+97 |
| | | | | openat() is available since Linux 2.6.16 | ||||
* | Drop unused global ProcessList memory fields | Nathan Scott | 2020-11-27 | 1 | -3/+3 |
| | | | | | | | | | | The global ProcessList structure contains a couple of unused fields. 'sharedMem' has never been used by any Meter, since its not been anything other than zero in Linux /proc/meminfo for many, many years. The freeMem field is only used in the usedMem calculation, so it can reside on the stack like some other memory variables used within-calculations-only and not exposed to the user via a Meter. | ||||
* | Randomly refresh M_LRS calculation, but latest after 2s | Benny Baumann | 2020-11-26 | 1 | -8/+7 |
| | |||||
* | Distinguish display of no permissions for reading M_LRS | Benny Baumann | 2020-11-26 | 1 | -1/+9 |
| | |||||
* | Roll our own strtoull implementation specialized to handle the parsing ↵ | Benny Baumann | 2020-11-26 | 1 | -20/+54 |
| | | | | requirements | ||||
* | Hardcode actual conversions to read the maps file data | Benny Baumann | 2020-11-26 | 1 | -8/+49 |
| | |||||
* | Only calculate M_LRS size every 5 seconds | Benny Baumann | 2020-11-26 | 2 | -3/+22 |
| | |||||
* | Calculate library size (M_LRS column) from maps file | Fynn Wulf | 2020-11-26 | 3 | -11/+84 |
| | |||||
* | IOPriorityPanel: drop unnecessary buffer size decrement | Christian Göttsche | 2020-11-26 | 1 | -1/+1 |
| | | | | xSnprintf guarantees null-termination within the passed size. | ||||
* | LinuxProcessList_recurseProcTree: compute time only once and mark parent const | Christian Göttsche | 2020-11-25 | 1 | -5/+6 |
| | |||||
* | Drop taskstats conditional | Christian Göttsche | 2020-11-25 | 3 | -22/+1 |
| | | | | | | | | | | taskstats is only checked on runtime if the column RCHAR, WCHAR, SYSCR, SYSCW, RBYTES, WBYTES, CNCLWB, IO_READ_RATE, IO_WRITE_RATE or IO_RATE is selected. taskstats is currently enabled by default. Drop the taskstats configuration switch, to reduce the maintenance cost. | ||||
* | Drop cgroup conditional | Christian Göttsche | 2020-11-25 | 3 | -18/+0 |
| | | | | | | | | | cgroup is only checked on runtime if the column CGROUP is selected. cgroup is currently disabled by default, but most distributions do enable it. Drop the cgroup configuration switch, to reduce the maintenance cost. | ||||
* | LinuxProcessList: fix misspelling | Christian Göttsche | 2020-11-25 | 1 | -5/+5 |
| | |||||
* | Unify naming of first argument of Platform_getBattery | Christian Göttsche | 2020-11-25 | 1 | -15/+15 |
| | | | | Use percent throughout | ||||
* | Fix file descriptor leak in LinuxProcessList_readCmdlineFile after xread failure | Christian Göttsche | 2020-11-24 | 1 | -1/+3 |
| | | | | Found by Coverity | ||||
* | Include comm before cmdline if exe could not be read, but comm mismatches ↵ | Benny Baumann | 2020-11-24 | 3 | -2/+35 |
| | | | | | | basename from cmdline Also highlights entries where exe was marked deleted | ||||
* | Refactor command string creation | Benny Baumann | 2020-11-24 | 2 | -76/+118 |
| | | | | Hopefully this patch makes it a bit more approachable how it's done. | ||||
* | Make kernel thread display for COMM/EXE columns less visible and more consistent | Benny Baumann | 2020-11-24 | 1 | -4/+4 |
| | |||||
* | Reduce visual noise to when comm and cmdline actually disagree on the ↵ | Benny Baumann | 2020-11-24 | 1 | -4/+9 |
| | | | | program basename | ||||
* | Assume full basename matches COMM when matching full COMM buffer | Narendran Gopalakrishnan | 2020-11-24 | 1 | -2/+1 |
| | |||||
* | Cleanup some documentation | Narendran Gopalakrishnan | 2020-11-24 | 1 | -1/+1 |
| | |||||
* | Add heuristic for space-separated cmdline | Benny Baumann | 2020-11-24 | 1 | -5/+91 |
| | |||||
* | Compatibility function for faccessat | Benny Baumann | 2020-11-24 | 1 | -0/+1 |
| | |||||
* | Improving Command display/sort | Narendran Gopalakrishnan | 2020-11-24 | 3 | -6/+511 |
| | |||||
* | LinuxProcess_adjustTime: simplify by not using double | Christian Göttsche | 2020-11-24 | 1 | -8/+6 |
| | | | | Does not work with -ffast-math else. | ||||
* | LinuxProcessList: fix misspelling | Christian Göttsche | 2020-11-24 | 1 | -1/+1 |
| | |||||
* | Linux: fix display of new thread for one cycle when hidden | Christian Göttsche | 2020-11-23 | 1 | -2/+3 |
| |