summaryrefslogtreecommitdiffstats
path: root/linux
Commit message (Collapse)AuthorAgeFilesLines
* Introduce METER_BUFFER_CHECK and METER_BUFFER_APPEND_CHR to cleanup writing ↵Christian Göttsche2020-12-061-25/+10
| | | | | | to bar buffers Closes: #294
* Use size_t as type for buffer length in ProcessChristian Göttsche2020-12-061-1/+1
|
* Use size_t as len type for Meter_UpdateValuesChristian Göttsche2020-12-064-8/+12
| | | | Most of the time the parameter is passed to snprintf type functions
* IWYU updateChristian Göttsche2020-12-066-8/+4
|
* Initialize buffer for retrieved pathBenny Baumann2020-12-061-1/+2
| | | | | | This avoids a warning on GCC 11. Fixes #369
* LinuxProcessList: add underscore suffix for raw struct nameChristian Göttsche2020-12-051-1/+1
| | | | Fit the general coding style
* Resolve conversion from ssize_t to int for readlink return valueChristian Göttsche2020-12-051-1/+1
|
* Convert personal copyright authorship to teamChristian Göttsche2020-12-044-4/+4
|
* Linux: avoid float division by 0 after system sleepChristian Göttsche2020-12-031-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 columnChristian Göttsche2020-12-033-1/+48
|
* Dynamically load libsensors at runtimeChristian Göttsche2020-12-025-48/+136
|
* Add xReadfile wrapper for reading small to medium size filesChristian Göttsche2020-12-023-134/+31
| | | | | | Inspired by proposed Linux syscall Avoid file descriptor leaks like 4af8c63f
* PressureStallMeter: improve display stringsChristian Göttsche2020-12-021-12/+19
| | | | | - Shorten name for header setup menu - Improve caption in bar mode
* Use String_eq for readability and consistencyChristian Göttsche2020-12-021-3/+3
|
* Add cast to unsigned char to avoid signed char misuseChristian Göttsche2020-12-021-1/+1
|
* Merge identical conditional branchesChristian Göttsche2020-12-022-6/+2
|
* Drop redundant return statementsChristian Göttsche2020-12-021-2/+0
|
* Linux: fix process parsing for hidden pid directoriesChristian Göttsche2020-11-291-2/+2
|
* TypoChristian Göttsche2020-11-281-1/+1
|
* Update even more snprintfsChristian Göttsche2020-11-281-2/+2
| | | | Use size of actual buffers instead of magic numbers
* Use 'N/A' instead of 'no perm' for more consistencyBenny Baumann2020-11-281-2/+2
|
* Fix reading of device nodes > 2 chars from memory mapsDaniel Lange2020-11-281-4/+4
|
* Add compat mode for systems without openat(2)Christian Göttsche2020-11-281-41/+63
|
* LinuxProcessList: use openat instead of building path stringsChristian Göttsche2020-11-281-96/+97
| | | | openat() is available since Linux 2.6.16
* Drop unused global ProcessList memory fieldsNathan Scott2020-11-271-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 2sBenny Baumann2020-11-261-8/+7
|
* Distinguish display of no permissions for reading M_LRSBenny Baumann2020-11-261-1/+9
|
* Roll our own strtoull implementation specialized to handle the parsing ↵Benny Baumann2020-11-261-20/+54
| | | | requirements
* Hardcode actual conversions to read the maps file dataBenny Baumann2020-11-261-8/+49
|
* Only calculate M_LRS size every 5 secondsBenny Baumann2020-11-262-3/+22
|
* Calculate library size (M_LRS column) from maps fileFynn Wulf2020-11-263-11/+84
|
* IOPriorityPanel: drop unnecessary buffer size decrementChristian Göttsche2020-11-261-1/+1
| | | | xSnprintf guarantees null-termination within the passed size.
* LinuxProcessList_recurseProcTree: compute time only once and mark parent constChristian Göttsche2020-11-251-5/+6
|
* Drop taskstats conditionalChristian Göttsche2020-11-253-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 conditionalChristian Göttsche2020-11-253-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 misspellingChristian Göttsche2020-11-251-5/+5
|
* Unify naming of first argument of Platform_getBatteryChristian Göttsche2020-11-251-15/+15
| | | | Use percent throughout
* Fix file descriptor leak in LinuxProcessList_readCmdlineFile after xread failureChristian Göttsche2020-11-241-1/+3
| | | | Found by Coverity
* Include comm before cmdline if exe could not be read, but comm mismatches ↵Benny Baumann2020-11-243-2/+35
| | | | | | basename from cmdline Also highlights entries where exe was marked deleted
* Refactor command string creationBenny Baumann2020-11-242-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 consistentBenny Baumann2020-11-241-4/+4
|
* Reduce visual noise to when comm and cmdline actually disagree on the ↵Benny Baumann2020-11-241-4/+9
| | | | program basename
* Assume full basename matches COMM when matching full COMM bufferNarendran Gopalakrishnan2020-11-241-2/+1
|
* Cleanup some documentationNarendran Gopalakrishnan2020-11-241-1/+1
|
* Add heuristic for space-separated cmdlineBenny Baumann2020-11-241-5/+91
|
* Compatibility function for faccessatBenny Baumann2020-11-241-0/+1
|
* Improving Command display/sortNarendran Gopalakrishnan2020-11-243-6/+511
|
* LinuxProcess_adjustTime: simplify by not using doubleChristian Göttsche2020-11-241-8/+6
| | | | Does not work with -ffast-math else.
* LinuxProcessList: fix misspellingChristian Göttsche2020-11-241-1/+1
|
* Linux: fix display of new thread for one cycle when hiddenChristian Göttsche2020-11-231-2/+3
|

© 2014-2024 Faster IT GmbH | imprint | privacy policy