pcp
[Top] [All Lists]

pcp updates: dynamic metrics, qa

To: pcp@xxxxxxxxxxx
Subject: pcp updates: dynamic metrics, qa
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 8 Aug 2013 04:27:57 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: qMMfHZrAnjJC0cSfHm1sdzHHpeh5DQ==
Thread-topic: pcp updates: dynamic metrics, qa
Changes committed to git://oss.sgi.com/pcp/pcp.git dev

 qa/359                           |    2 
 src/include/pcp/pmda.h           |   36 ++++
 src/libpcp_pmda/src/GNUmakefile  |    3 
 src/libpcp_pmda/src/dynamic.c    |  189 ++++++++++++++++++++++++
 src/pmdas/gfs2/GNUmakefile       |    7 
 src/pmdas/gfs2/dynamic.c         |  174 ----------------------
 src/pmdas/gfs2/dynamic.h         |   33 ----
 src/pmdas/gfs2/pmda.c            |   17 +-
 src/pmdas/gfs2/sbstats.c         |   11 -
 src/pmdas/gfs2/sbstats.h         |    2 
 src/pmdas/linux/GNUmakefile      |   11 -
 src/pmdas/linux/dynamic.c        |  298 ++++++++-------------------------------
 src/pmdas/linux/dynamic.h        |   65 ++------
 src/pmdas/linux/indom.h          |    7 
 src/pmdas/linux/interrupts.c     |   21 +-
 src/pmdas/linux/interrupts.h     |    2 
 src/pmdas/linux/numa_meminfo.c   |    2 
 src/pmdas/linux/pmda.c           |   50 +++---
 src/pmdas/linux/proc_cpuinfo.c   |    2 
 src/pmdas/linux/proc_net_snmp.c  |    7 
 src/pmdas/linux/proc_stat.c      |    2 
 src/pmdas/linux_proc/GNUmakefile |    7 
 src/pmdas/linux_proc/cgroups.c   |   11 -
 src/pmdas/linux_proc/cgroups.h   |    2 
 src/pmdas/linux_proc/dynamic.c   |  174 ----------------------
 src/pmdas/linux_proc/dynamic.h   |   31 ----
 src/pmdas/linux_proc/indom.h     |    3 
 src/pmdas/linux_proc/pmda.c      |   40 ++---
 28 files changed, 409 insertions(+), 800 deletions(-)

commit 7b5a5a0906847f5fb0e518dad25af14118c950cd
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Aug 8 18:24:26 2013 +1000

    Switch pmdaproc and pmdagfs2 to use shared dynamic namespace code
    
    Last set of changes to all remaining PMDAs using a local copy of the
    dynamic.c code to now use the shared interfaces from libpcp_pmda.

commit 1130865f09ee87139879f0483ba911f39f4ca60d
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Aug 8 16:16:59 2013 +1000

    Move the now-generic dynamic namespace helpers to libpcp_pmda

commit 7e666d24220d20ff1b0e491a54b8e83a18ee3819
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Aug 8 16:00:24 2013 +1000

    Refactor dynamic namespace code in pmdalinux for future sharing

commit 46c368b34f2ce58c4f90edb67beb7b12c448fe91
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Aug 8 14:25:14 2013 +1000

    Make pmdalinux metric and indom tables static to linux/pmda.c
    
    Preparing for a generic implementation of dynamic.[ch] in pmdalinux
    we need to purge the last remaining PMDA-specific information there,
    i.e. the direct access to the (fixed) metric table.
    
    This commit does that, and cleans up the direct indomtab accessors
    as well while we're at it.

commit 7d94db7329fd051e74620286e2b54def72ae83e8
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Aug 8 13:25:31 2013 +1000

    Slightly reduce memory allocation required by dynamic metrics
    
    Remove the use of NUM_CLUSTER in the dynamic namespace metrics
    (interrupts) in pmdalinux.  This makes the code more generic,
    in preparation for a shared version for other PMDAs.

commit 28f07b8dd425623c3f35bc9c45435f7c44269b4e
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Aug 8 12:07:51 2013 +1000

    Update qa/359 filter for proc.io metrics (kernel procfs read-vs-open eperm 
bug)

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: dynamic metrics, qa, Nathan Scott <=