pcp
[Top] [All Lists]

pcp (proc_pmda branch) updates

To: pcp@xxxxxxxxxxx
Subject: pcp (proc_pmda branch) updates
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sun, 22 Jul 2012 22:10:33 +1000
OK Mark here it is.

Feel free to pull this into any place you want, else I'll keep chipping
away at it as I now have a git managed branch for this work.

The proc metrics are out of the Linux PMDA ... and this passes QA (with
my last round of QA changes).

The proc PMDA compiles, installs and dumps core ... 8^)>

Changes committed to git://oss.sgi.com/kenj/pcp.git proc_pmda
(note this is the proc_pmda branch)

 src/pmdas/linux/GNUmakefile      |   48 
 src/pmdas/linux/cgroups.c        |  742 --------
 src/pmdas/linux/cgroups.h        |   49 
 src/pmdas/linux/clusters.h       |   38 
 src/pmdas/linux/filesys.c        |    8 
 src/pmdas/linux/filesys.h        |    2 
 src/pmdas/linux/getinfo.c        |   35 
 src/pmdas/linux/getinfo.h        |    1 
 src/pmdas/linux/help             |  149 -
 src/pmdas/linux/indom.h          |    8 
 src/pmdas/linux/interrupts.c     |    1 
 src/pmdas/linux/ksym.c           |  551 ------
 src/pmdas/linux/ksym.h           |   41 
 src/pmdas/linux/pmda.c           | 1209 --------------
 src/pmdas/linux/proc_pid.c       |  721 --------
 src/pmdas/linux/proc_pid.h       |  269 ---
 src/pmdas/linux/proc_runq.c      |  123 -
 src/pmdas/linux/proc_runq.h      |   35 
 src/pmdas/linux/root_linux       |  130 -
 src/pmdas/linux_proc/.gitignore  |    5 
 src/pmdas/linux_proc/GNUmakefile |   76 
 src/pmdas/linux_proc/Install     |   31 
 src/pmdas/linux_proc/Remove      |   29 
 src/pmdas/linux_proc/cgroups.c   |  760 ++++++++
 src/pmdas/linux_proc/cgroups.h   |   49 
 src/pmdas/linux_proc/clusters.h  |   85 
 src/pmdas/linux_proc/dynamic.c   |  176 ++
 src/pmdas/linux_proc/dynamic.h   |   31 
 src/pmdas/linux_proc/filesys.c   |  121 +
 src/pmdas/linux_proc/filesys.h   |   34 
 src/pmdas/linux_proc/getinfo.c   |   55 
 src/pmdas/linux_proc/getinfo.h   |   16 
 src/pmdas/linux_proc/help        |  181 ++
 src/pmdas/linux_proc/indom.h     |   59 
 src/pmdas/linux_proc/ksym.c      |  551 ++++++
 src/pmdas/linux_proc/ksym.h      |   41 
 src/pmdas/linux_proc/pmda.c      | 1467 +++++++++++++++++
 src/pmdas/linux_proc/pmns        |  155 +
 src/pmdas/linux_proc/proc_pid.c  |  723 ++++++++
 src/pmdas/linux_proc/proc_pid.h  |  269 +++
 src/pmdas/linux_proc/proc_runq.c |  123 +
 src/pmdas/linux_proc/proc_runq.h |   35 
 src/pmdas/linux_proc/root        |   10 
 src/pmdas/proc/GNUmakefile       |  170 -
 src/pmdas/proc/TODO              |   36 
 src/pmdas/proc/cgroups.c         | 1502 ++++++++---------
 src/pmdas/proc/cgroups.h         |   98 -
 src/pmdas/proc/dynamic.c         |  352 ++--
 src/pmdas/proc/dynamic.h         |   62 
 src/pmdas/proc/help              |  362 ++--
 src/pmdas/proc/pmda.c            | 3348 +++++++++++++++++++--------------------
 src/pmdas/proc/pmns              |  310 +--
 src/pmdas/proc/proc_pid.c        | 1444 ++++++++--------
 src/pmdas/proc/proc_pid.h        |  538 +++---
 src/pmdas/proc/proc_runq.c       |  246 +-
 src/pmdas/proc/proc_runq.h       |   70 
 src/pmdas/proc/root              |   20 
 src/pmns/Rebuild                 |   22 
 58 files changed, 9452 insertions(+), 8370 deletions(-)

commit f15378821b2d53ad00a8083653ea3ab4f8e63070
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Jul 22 20:18:44 2012 +1000

    proc PMDA - more bits 'n pieces
    
    Install and Remove scripts.

commit b28bb3bd72ef9d6bd538d991efec34f65374b7df
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Jul 22 20:03:14 2012 +1000

    proc PMDA - missed file from last commit

commit 372b1b0d34ae2a0e1df5b6f4a6d2b1a54c90bef3
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Jul 22 19:56:36 2012 +1000

    Linux proc pmda - initial checkpoint
    
    This commit delivers the first cut of the proc PMDA ... the code
    has been lifted out of the linux PMDA and compiles and links without
    error ... but there has been no testing and no Install and Remove
    scripts yet.

commit 8ff4984fee93bab09ea5c68b7ee18d1ab715bea1
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Jul 22 19:52:34 2012 +1000

    linux PMDA - remove all proc metrics
    
    All the proc metrics have been moved to the proc PMDA.

commit 279950ec0f5bb70967b2d5260ac7f075b8187ca1
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Jul 22 18:29:40 2012 +1000

    Rebuild (pmns) - changes for linux-proc PMDA split
    
    Need to be selective about the top-level proc and cgroup metrics.
    If we're on Linux and the proc PMDA is not there, need to cull these
    ones ... this is needed for the migration/upgrade after the split
    when the linux PMDA will be installed by default, but the proc PMDA
    will not.
    If the proc PMDA is installed in pmcd's config file, don't do the
    culling.

commit 4424a204992b4e11a47ad00b0440c611200429ce
Merge: c20319d 17f3029
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Jul 20 22:05:28 2012 +1000

    Merge branch 'dev' into proc_pmda

commit c20319d064af66dc5902661a3f05dccb24d7d177
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jul 19 11:30:32 2012 +1000

    proc PMDA - preliminary checkin
    
    This is not working ... just want to save state so far.

commit 6b2d8a6397612be71ea6d33061577d708056ba3e
Merge: 6e60a72 66743ad
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jul 19 06:56:47 2012 +1000

    Merge branch 'dev' into proc_pmda
    
    Conflicts:
        src/pmdas/linux/pmda.c
    
    Forward ported a couple of recent changes from dev.

commit 6e60a72147c658cd2ebc88829c4a90a7a3faabe2
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Dec 13 06:59:24 2011 +1100

    proc PMDA - interim commit
    
    This gets the proc and cgroup metrics out of the Linux PMDA.



<Prev in Thread] Current Thread [Next in Thread>