pcp
[Top] [All Lists]

pcp updates

To: pcp@xxxxxxxxxxx
Subject: pcp updates
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Fri, 30 May 2008 12:39:08 +1000
Organization: Aconex
Reply-to: nscott@xxxxxxxxxx
Sender: pcp-bounce@xxxxxxxxxxx
Changes committed to git://oss.sgi.com:8090/nathans/pcp.git

 configure.in                        |   29 -
 man/man1/GNUmakefile                |    2 
 man/man1/pmcd.1                     |    8 
 man/man1/pmkstat.1                  |  262 -----------
 src/GNUmakefile                     |    2 
 src/autofsd-probe/autofsd-probe.c   |    4 
 src/cpan/PMDA.xs                    |    2 
 src/dbpmda/src/dbpmda.c             |    8 
 src/dbpmda/src/pmda.c               |    1 
 src/genpmda/genpmda                 |    8 
 src/include/buildrules              |    2 
 src/include/impl.h                  |   14 
 src/include/platform_defs.h.in      |   21 
 src/libpcp/src/GNUmakefile          |    3 
 src/libpcp/src/connect.c            |    4 
 src/libpcp/src/logportmap.c         |   40 -
 src/libpcp/src/loop.c               |    5 
 src/libpcp/src/pdu.c                |   67 +-
 src/libpcp/src/util.c               |   31 +
 src/libpcp_pmc/examples/fixed.c++   |    2 
 src/libpcp_pmc/examples/hotproc.c++ |    2 
 src/libpcp_pmda/src/GNUmakefile     |   17 
 src/libpcp_pmda/src/cache.c         |    6 
 src/newhelp/chkhelp.c               |   12 
 src/newhelp/newhelp.c               |   11 
 src/pmafm/pmafm.pcp                 |    2 
 src/pmcd/src/pmcd.c                 |    7 
 src/pmcdctl/pmcd_wait.c             |    8 
 src/pmclient/pmclient.c             |    8 
 src/pmdas/aix/aix.c                 |    8 
 src/pmdas/apache/apache.c           |    2 
 src/pmdas/cisco/pmda.c              |    3 
 src/pmdas/cisco/probe.c             |    8 
 src/pmdas/darwin/pmda.c             |    7 
 src/pmdas/hotproc/src/hotproc.c     |    7 
 src/pmdas/jstat/jstat.c             |    2 
 src/pmdas/linux/pmda.c              |    9 
 src/pmdas/lmsensors/lmsensors.c     |   15 
 src/pmdas/mailq/mailq.c             |    8 
 src/pmdas/mounts/mounts.c           |    9 
 src/pmdas/pmcd/src/pmcd.c           |   43 -
 src/pmdas/process/process.c         |    9 
 src/pmdas/roomtemp/roomtemp.c       |   19 
 src/pmdas/sample/src/pmda.c         |   21 
 src/pmdas/sendmail/sendmail.c       |    5 
 src/pmdas/shping/pmda.c             |    7 
 src/pmdas/simple/simple.c           |    9 
 src/pmdas/solaris/solaris.c         |   12 
 src/pmdas/summary/pmda.c            |   12 
 src/pmdas/trace/src/pmda.c          |    8 
 src/pmdas/trivial/trivial.c         |    9 
 src/pmdas/txmon/txmon.c             |   12 
 src/pmdas/weblog/pmda.c             |    8 
 src/pmdas/windows/pmda.c            |    8 
 src/pmdbg/pmdbg.c                   |    8 
 src/pmdumplog/pmdumplog.c           |    7 
 src/pmdumptext/pmdumptext.c++       |    2 
 src/pmhostname/GNUmakefile          |    1 
 src/pmhostname/pmhostname.c         |    2 
 src/pmie/src/pmie.c                 |    8 
 src/pminfo/GNUmakefile              |   10 
 src/pminfo/pminfo.c                 |   42 -
 src/pmkstat/GNUmakefile             |   44 -
 src/pmkstat/pmlogger.config         |   25 -
 src/pmkstat/src/GNUmakefile         |   53 --
 src/pmkstat/src/pmkstat.c           |  808
------------------------------------
 src/pmkstat/src/pmnsmap.spec        |   25 -
 src/pmlc/pmlc.c                     |   16 
 src/pmlogconf/pmlogconf.sh          |   12 
 src/pmlogctl/config.base            |    2 
 src/pmlogctl/config.sar             |    4 
 src/pmlogextract/pmlogextract.c     |    9 
 src/pmlogger/pmlogger.c             |    7 
 src/pmloglabel/pmloglabel.c         |    2 
 src/pmlogreduce/pmlogreduce.c       |    9 
 src/pmlogsummary/pmlogcheck.c       |    6 
 src/pmlogsummary/pmlogsummary.c     |    5 
 src/pmns/GNUmakefile                |   20 
 src/pmns/Rebuild                    |  358 +++++++++++++++
 src/pmns/Rebuild4linux              |  358 ---------------
 src/pmns/pmnsdel.c                  |   17 
 src/pmns/pmnsmerge.c                |   19 
 src/pmnscomp/pmnscomp.c             |   24 -
 src/pmpost/pmpost.c                 |    2 
 src/pmprobe/GNUmakefile             |    3 
 src/pmprobe/pmprobe.c               |   13 
 src/pmproxy/CHECKOUT                |   32 -
 src/pmproxy/GNUmakefile             |    2 
 src/pmproxy/pmproxy.c               |   12 
 src/pmstat/pmlogger.config          |    2 
 src/pmstat/pmstat.c                 |    2 
 src/pmstore/pmstore.c               |   11 
 src/pmtop/pmtop.c                   |    2 
 src/pmval/pmval.c                   |    9 
 src/procmemstat/procmemstat.c       |    7 
 95 files changed, 666 insertions(+), 2182 deletions(-)

commit 9629f731fee40f051088e3c7c5e53d606456efff
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri May 30 12:33:01 2008 +1000

    The Win32 mkdir system call doesn't take a mode argument like
    the rest of the world.  This patch ensures we call the right
    form of mkdir for all platforms.

commit 3a7085b8691929299209ddb1d925ac0c716f51c2
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri May 30 12:23:11 2008 +1000

    Win32 has no chown, make its use conditional in pmnsdel.

commit 37369b53364138c6f025cb16c6a51bfcf8e9d530
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri May 30 11:55:11 2008 +1000

    libpcp and pmcd both need to know if a given pid_t matches
    a running process.  Currently the both have the same code
    duplicated (exists_process).  Its platform-specific stuff
    too - the MacOSX implementation differs to *nix, which is
    different again to Win32 of course.
    
    This patch creates a libpcp __pmProcessExists() interface
    from exists_process, and implements the Win32 variant.
    pmcd is updated to call this too, instead of its own copy.

commit b16d9f33586c65a6a7b6cfabe581667d2bb4251a
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri May 30 11:38:47 2008 +1000

    Data symbols exported from a library come under different linker
    logic in the Windows GCC port, as they are not auto-exported from
    DLLs like code symbols are.  This gives build warnings for all of
    the tools using pmDebug/pmProgname (i.e. all of the tools).  This
    can be avoided by decorating these symbols with the __declspec()
    directive.  Unfortunately a different header directive is needed
    when linking than when compiling the DLL.
    
    This patch removes these warnings by decorating these symbols in
    the appropriate way depending on which part of the build is in
    progress (using INTERN/EXTERN macros for just the handful of data
    symbols exported by libpcp).
    
    A good reference covering the behaviour of GNU ld on Windows:
        http://sourceware.org/binutils/docs-2.17/ld/WIN32.html

commit 7ea46b6e2aa7437e37fbd501bcb36ef9772bb948
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri May 30 11:12:27 2008 +1000

    Ditch HAVE_WAIT_DEFINES_RUSAGE, its no longer needed.

commit d7ebaf5d3756dff18878442e26ee4b879a5ba3aa
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri May 30 11:02:49 2008 +1000

    Add the __pmSetProgname helper routine, which sets up pmProgname
    for the client tools which ship with PCP.  For the MinGW port,
    this has two side-effects - it sets up networking capabilities
    for the program, and now also sets "binary" I/O processing mode
    rather than the default (text mode) which otherwise breaks PMNS
    and/or archive processing.

commit 1c49d5bdbd9a7f34dbb17501f2909891b207a859
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri May 30 10:41:15 2008 +1000

    Remove redundant/unused macros from pmprobe makefile.

commit 616946da5096a25982be8c8ba1cf8c4af439b419
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri May 30 10:14:38 2008 +1000

    Use CMDTARGET instead of TARGET in pminfo makefile to fix MinGW
build.

commit 5fcf77b238feef592e16cdda0316d879274a14f3
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri May 30 08:42:09 2008 +1000

    Makefile tweaks for installing libpcp_pmda libraries.

commit 78454e3fdac4db8f81c624b87b07d6fd8a9f16ec
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri May 30 08:40:23 2008 +1000

    Makefile tweaks in libpcp_pmda to support MinGW builds.

commit f42838672e443a7c75566548df762d69b93c7819
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri May 30 08:32:02 2008 +1000

    The Win32 API does not allow read/write on socket file descriptors.
    Nope, I'm not joking.  So, switch to using recv/send, which exist
    on all platforms and are equivalent.  Basic tools (pmprobe, pminfo,
    and several others) live mode is now functional.

commit 5008c5a2f9a7d48d862f088a93e3867f35cf1ae6
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu May 29 18:04:02 2008 +1000

    Make use of SIGPIPE/SIGHUP conditional, they dont exist under Win32.

commit b99b194203147b9b114c2f8dbd5c847412bed09d
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu May 29 17:40:00 2008 +1000

    Fix couple of typos in the configure.in scripting.

commit 501a51581b217ff4284470a19903a0711cbf9cc7
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu May 29 17:34:57 2008 +1000

    Cleanup pmns makefile - dont need the .NeedRebuild touch for MacOSX
either.

commit 57b71169c4e21ea3a1081d861ac3e90eb24b1c5f
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu May 29 17:24:56 2008 +1000

    Expunge pmkstat from the sources, use pmstat instead.




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