pcp
[Top] [All Lists]

pcp updates

To: pcp@xxxxxxxxxxx
Subject: pcp updates
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Sat, 4 Apr 2009 21:37:06 +1100 (EST)
In-reply-to: <453036256.2742691238841420567.JavaMail.root@xxxxxxxxxxxxxxxxxx>
Changes committed to git://oss.sgi.com/nathans/pcp.git

 VERSION.pcp                      |    2 
 debian/GNUmakefile               |   24 +-
 debian/changelog                 |    5 
 debian/control                   |   26 +-
 debian/libpcp-mmv1-dev.dirs      |    1 
 debian/libpcp-mmv1-dev.install   |    7 
 debian/libpcp-mmv1.install       |    1 
 debian/rules                     |    8 
 man/man1/pmstat.1                |    7 
 man/man3/mmv_inc_value.3         |    9 
 man/man3/mmv_lookup_value_desc.3 |    9 
 man/man3/mmv_stats_init.3        |   15 -
 man/man4/mmv.4                   |    4 
 src/include/impl.h               |    6 
 src/include/platform_defs.h.in   |    6 
 src/libpcp/src/util.c            |   24 +-
 src/libpcp/src/win32.c           |   29 ++
 src/libpcp_mmv/src/GNUmakefile   |    9 
 src/libpcp_mmv/src/mmv_stats.c   |  463 ++++++++++++++++-----------------------
 src/libpcp_pmda/src/help.c       |   67 -----
 src/pmdas/mmv/GNUmakefile        |    7 
 src/pmdas/mmv/Install            |   23 -
 src/pmdas/mmv/Remove             |   14 -
 src/pmdas/mmv/mmv.c              |  109 ++-------
 src/pmdas/pmcd/src/pmcd.c        |   48 ----
 src/pmdas/sendmail/sendmail.c    |   58 ----
 src/pmie/src/pmie.c              |   25 --
 src/pmns/pmnsdel.c               |   10 
 src/pmstat/pmlogger.config       |    5 
 src/pmstat/pmstat.c              |   77 ++++--
 30 files changed, 461 insertions(+), 637 deletions(-)

commit e4e235465e55316fe84944cc2ce5722690374b15
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Sat Apr 4 21:33:53 2009 +1100

    Bump version number for packaging updates.

commit 2accb0ca720f9395c6a5b68c86b05336b2c52429
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Sat Apr 4 21:33:21 2009 +1100

    Fix unquoted hyphen usage in mmv.4 man page, reported by lintian tool.

commit 0d31dc94ac3ccf73df9c17536c4399194f9b1536
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Sat Apr 4 21:32:23 2009 +1100

    Debian packaging updates for additional runtime (mmv) library.

commit 1c51e60212eb4a8d2ffcd0eaaa3f559e4f90e773
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Sat Apr 4 21:26:36 2009 +1100

    Small updates to MMV man pages.
    
    Correct a few typos, make sure the MMV abbreviation is spelled
    out, refer to "memory map" not platform-specific mmap syscall.
    Remove NOTES section from mmv_stats_init.3 which discussed the
    lack of use of libpcp, which is no longer the case.

commit 412256370e3098d5d3a07250d952cbf6188e437a
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Sat Apr 4 21:21:11 2009 +1100

    MMV library build no longer creates header symlink (Win32 hates that).

commit 272e5c38017c3061e5377d4641cdbe71ce09e554
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Sat Apr 4 21:19:30 2009 +1100

    Correct typo on macro name used in Win32 build.

commit fa815c18932fd53228c780818608ef9b9468f3c8
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Sat Apr 4 20:54:57 2009 +1100

    Complete the porting of MMV client library to Windows.
    
    Quite a large refactoring of code here too.  Since we now
    need to link with libpcp (for Win32 routines) we can make
    use of pmGetConfig (Max cool with this, or maybe that was
    the beer talking).
    
    Split mmv_stats_init into a few static helper routines,
    making the flow of code much easier to follow for first-
    timers like me.  Use the platform-independent path type
    interfaces, memory mapped file interfaces.  And finally,
    picked 1 coding style and stuck with it, twas a bit of a
    mix-and-match (style now consistent with rest of PCP).

commit 491125f43f28e1f285badd97aa26689bf9315b2f
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Sat Apr 4 20:47:50 2009 +1100

    Complete the porting of MMV PMDA to Windows.
    
    This covers all of the path name platform-independence,
    switches to the generic memory map/unmap routines now in
    libpcp, uses the generic rename wrapper, __pmSetProgname
    is now used.
    
    It also changes the tempnam call.  Previously, this would
    have allocated a temp file in TMPDIR and then renamed it
    into the PCP pmns directory - if these are on different
    filesystems, this would fail.  Its easily avoided though,
    by creating the temp files alongside the other pmns files
    (in the same directory) which is highly likely to be in
    the same filesystem.

commit 86de70fae503b80ea3d1acf67a30d7002ae865b5
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Sat Apr 4 20:42:17 2009 +1100

    Trivial MMV makefile/Install/Remove script cleanups.
    
    Just makes the newly merged MMV PMDA consistent with others.

commit abab0586af847f0fd1f85bf866fcbb4fcf0e9503
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Sat Apr 4 20:40:39 2009 +1100

    Add memory map/nmap wrappers to reduce conditional Win32/POSIX
    code spreading throughout the tree.  Numerous callsites already
    exist, MMV made it even more noticable.  This change switches
    over pmie, libpcp_pmda, pmdapmcd, and pmdasendmail to these new
    interfaces (and adds the Win32/POSIX interface implementations,
    of course).

commit a7af9eb50eaa5639aec7502bf637a803bf4ccfda
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Sat Apr 4 20:33:16 2009 +1100

    Add rename wrapper so conditional Win32/POSIX code is in one spot.
    
    On Win32 rename fails if the target exists.  This is not POSIX,
    and is not the behaviour we want - as we recently added a third
    call site, time to solve this in common code.

commit 151c8525e1e08d696003301193ee19f78c355165
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Apr 3 13:57:23 2009 +1100

    Add pmstat -x (eXtended) option to display iowait and steal.
    
    This (optionally) adds the CPU metrics wait.total and the
    virualisation "steal" time metric to pmstat.  It also makes
    "sys" report both interrupt time and regular kernel time
    (interrupt time was left out originally for some reason).

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