summaryrefslogtreecommitdiffstats
path: root/pcp/Instance.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix code styleBenny Baumann2023-12-261-1/+1
|
* Cast some ignored return codes to assist static checkersNathan Scott2023-09-041-1/+2
| | | | | | | Coverity scanning rightly warns that a usually-checked return status was being ignored in two locations. These two are in cases where it's safe to ignore, so I've adjusted the code to maintain coverage even though they are false positives here.
* Ensure possible NULL pointer values dealt with defensivelyNathan Scott2023-09-041-1/+3
| | | | | | Coverity scanning shows a couple of locations where a NULL pointer dereference could happen; updated code to ensure it cannot.
* Rename PCPMetric files, structures and related internal functionsNathan Scott2023-08-301-8/+8
| | | | | Simplify names to just Metric in this case as it is not mirroring core htop naming (which is the norm for that naming convention).
* Support dynamic screens with 'top-most' entities beyond processesSohaib Mohamed2023-08-301-0/+160
This implements our concept of 'dynamic screens' in htop, with a first use-case of pcp-htop displaying things like top-filesystem and top-cgroups under new screen tabs. However the idea is more general than use in pcp-htop and we've paved the way here for us to collectively build mroe general tabular screens in core htop, as well. From the pcp-htop side of things, dynamic screens are configured using text-based configuration files that define the mapping for PCP metrics to columns (and metric instances to rows). Metrics are defined either directly (via metric names) or indirectly via PCP derived metric specifications. Value scaling and the units displayed is automatic based on PCP metric units and data types. This commit represents a collaborative effort of several months, primarily between myself, Nathan and BenBE. Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com> Signed-off-by: Nathan Scott <nathans@redhat.com>

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