htop/pcp
Nathan Scott bf853addc3 Ensure PCP dynamic metric configuration definition uniqueness
It can happen that pcp-htop is presented multiple definitions
of the same dynamic meter, e.g. if /etc/pcp/htop/meters has a
definition matching one in ~/.config/htop/meters - instead of
exiting with a duplicate metric error provide more meaningful
diagnostics (on close) and also just skip over such entries.
System files override home directories which overrides those
found below the current working directory.

Also fix the derived metric error diagnostic; because this is
using CRT_fatalError, which is like perror(3), we must give a
meaningful prefix (like program name) at the string end.
2021-07-14 11:58:46 +10:00
..
meters Pretty-print values in the PCP DynamicMeter code 2021-07-08 10:56:05 +10:00
PCPDynamicMeter.c Ensure PCP dynamic metric configuration definition uniqueness 2021-07-14 11:58:46 +10:00
PCPDynamicMeter.h Remove unnecessary include files from PCPDynamicMeter.c 2021-07-09 12:42:36 +10:00
PCPProcess.c PCP: Fix minor cut+paste typo 2021-06-30 07:45:47 +02:00
PCPProcess.h Update the PCP platform to use common Process fields and code 2021-06-09 17:09:29 +10:00
PCPProcessList.c Add a new DynamicMeter class for runtime Meter extension 2021-07-07 10:59:36 +10:00
PCPProcessList.h Add a new DynamicMeter class for runtime Meter extension 2021-07-07 10:59:36 +10:00
Platform.c Remove unnecessary include files from PCPDynamicMeter.c 2021-07-09 12:42:36 +10:00
Platform.h Remove unnecessary include files from PCPDynamicMeter.c 2021-07-09 12:42:36 +10:00
ProcessField.h Update the PCP platform to use common Process fields and code 2021-06-09 17:09:29 +10:00