pcp
[Top] [All Lists]

pcp updates: assorted

To: pcp@xxxxxxxxxxx
Subject: pcp updates: assorted
From: kenj@xxxxxxxxxxx (Ken McDonell)
Date: Sun, 22 Nov 2015 17:26:05 +1100 (AEDT)
Delivered-to: pcp@xxxxxxxxxxx
Changes committed to git://git.pcp.io/kenj/pcp master

Ken McDonell (17):
      qa: 322, 721 & 1108: extra diagnostics to help debug failures
      qa: 518, 578, 778 & 837: extra diagnostics to help debug failures
      libpcp_pmda: remove unused function dynamic_pmid_cluster()
      pmcd & dbpmda: fix truncation from 'int' to bitfield compiler warnings
      configure.ac: correct syntax and logic errors in FreeBSD configuration
      qa/200: avoid race on pmcd socket
      qa/admin/check-vm: small changes
      qa/src/exercise.c: fix bug ... && is not the same as &
      qa/src/pducrash.c: safer bit-field assignment
      qa/src/xval.c: safer bit-field assignment
      src/libpcp/src/check-statics: time_scales symbol may not be present from 
units.o
      src/perl/PMDA/local.c: add parentheses for && .. || .. || expression
      src/pmie/src/systemlog.c: be more careful about the const qualifier
      src/pmstat/pmstat.c: prefer <termios.h> to <sys/termios.h>
      sar2pcp & qa/370: add support for sysstat-11.0.1
      qa/868: (new) exercise some error cases for pmdaproc.sh
      qa/group: add 868

 configure                     |    7 
 configure.ac                  |    7 
 qa/1108                       |    1 
 qa/200                        |    4 
 qa/322                        |   15 
 qa/370                        |    3 
 qa/370.out.9                  | 7684 ++++++++++++++++++++++++++++++++++++++++++
 qa/518                        |   12 
 qa/578                        |    6 
 qa/721                        |    6 
 qa/778                        |    8 
 qa/837                        |    3 
 qa/868                        |   64 
 qa/868.out                    |   12 
 qa/admin/check-vm             |   49 
 qa/group                      |    1 
 qa/src/exercise.c             |    4 
 qa/src/pducrash.c             |    2 
 qa/src/sa-sysstat-11.0.1      |binary
 qa/src/xval.c                 |    2 
 src/dbpmda/src/dso.c          |    4 
 src/libpcp/src/check-statics  |    2 
 src/libpcp_pmda/src/dynamic.c |    8 
 src/perl/PMDA/local.c         |    6 
 src/pmcd/src/config.c         |    4 
 src/pmie/src/systemlog.c      |    4 
 src/pmstat/pmstat.c           |    5 
 src/sar2pcp/sar2pcp           |   80 
 28 files changed, 7926 insertions(+), 77 deletions(-)

Details ...

commit 9e1b473cc8d9c8f21d7c8116de825b51e343e5b9
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Nov 22 06:52:43 2015 +1100

    qa/group: add 868

commit a8db3e3d37282f2f323bc243b693f706fe783c30
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Nov 22 06:51:36 2015 +1100

    qa/868: (new) exercise some error cases for pmdaproc.sh

commit 44cdc32711b71dc2818576663adadfc43749d970
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Nov 22 06:27:42 2015 +1100

    sar2pcp & qa/370: add support for sysstat-11.0.1
    
    Added a new tag to skip, file-utc-time and sorted the elements
    of skipped_tags{} to make it easier to spot what's there and
    make changes.
    
    Extended qa/370 with new test data and expected output.
    
    All from Debian 8.2 (Jessie).

commit 504f4aa27564243a4476b73e3b4a62d752299245
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Nov 21 21:28:10 2015 +1100

    src/pmstat/pmstat.c: prefer <termios.h> to <sys/termios.h>
    
    According to FreeBSD, <sys/termios.h> is deprecated, so change code
    to use <termios.h> in preference if both are available.

commit 53ce9c9567a4719aaa24fdb61a7f453dc9461147
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Nov 21 20:28:54 2015 +1100

    src/pmie/src/systemlog.c: be more careful about the const qualifier
    
    The decode() procedure is called with a codetab argument ... in the
    calls this is facilitynames[] or prioritynames[] both of which are
    const arrays .. so make the definition of codetab const also.
    
    Found by the FreeBSD 10.2 C compiler.

commit e6e4604eeb522e768e5ee05b57ffae38f55cd9f5
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Nov 21 20:16:31 2015 +1100

    src/perl/PMDA/local.c: add parentheses for && .. || .. || expression
    
    Found by the FreeBSD 10.2 C compiler.

commit 5c70765371b388ddf8fa804402a70db54f01be88
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Nov 21 20:13:29 2015 +1100

    src/libpcp/src/check-statics: time_scales symbol may not be present from 
units.o
    
    Symbol not present for the FreeBSD 10.2 C compiler.

commit b8ec574a549b81c0401620aa1c4d2abf804d233e
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Nov 21 20:09:10 2015 +1100

    qa/src/xval.c: safer bit-field assignment
    
    Assigning -1 (PM_TYPE_NOSUPPORT) to a 8-bit field sort of demands
    truncation, so make it explicit rather than implicit.
    Found by the FreeBSD 10.2 C compiler.

commit 04fe377ef76c485cb676d7b48c6c4e7babaa4045
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Nov 21 18:33:51 2015 +1100

    qa/src/pducrash.c: safer bit-field assignment
    
    Assigning -1 to a 8-bit field sort of demands truncation, so make it
    explicit rather than implicit.
    Found by the FreeBSD 10.2 C compiler.

commit e171fbc95f172e1cdd447b6154240c0177d30c66
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Nov 21 18:31:20 2015 +1100

    qa/src/exercise.c: fix bug ... && is not the same as &
    
    Bitwise test needs & ... && is just plain wrong.
    Found by the FreeBSD 10.2 C compiler.

commit 814fdf21ef64063d4047f390b54d834c0d17352d
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Nov 21 18:27:54 2015 +1100

    qa/admin/check-vm: small changes
    
    1. Check host(1) output, don't assume it worked!
    2. Add pkg-config and mkfs.gfs2 to the things we check for.

commit 5d3f4ebe76ad93e8969e7f098b221c7a6d95bf41
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Nov 21 18:23:58 2015 +1100

    qa/200: avoid race on pmcd socket
    
    When restarting pmcd, replace "start" by "stop; sleep 2; start".
    This seems to be enough to ensure the pmcd request socket is
    completely shutdown before pmcd starts again, avoiding the
    occasional "socket busy" failure.

commit ba19d4bb7368a510258186cd02cbe045602e1cec
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Nov 20 06:25:18 2015 +1100

    configure.ac: correct syntax and logic errors in FreeBSD configuration

commit 4424324d442b29ac96e2f31b629d622b01dc5a44
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Nov 20 06:17:51 2015 +1100

    pmcd & dbpmda: fix truncation from 'int' to bitfield compiler warnings
    
    From setting ~PMAPI_VERSION in the pmapi_version field of the
    handshake/challenge PDU.
    Found by the FreeBSD 10.2 C compiler.

commit 50968b1fad43e8ca4136c42cbc3e41ffa3627c4b
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Nov 20 06:09:52 2015 +1100

    libpcp_pmda: remove unused function dynamic_pmid_cluster()
    
    In dynamic.c.
    Found by FreeBSD 10.2 C compiler.

commit a84e9d091fb14d65177cc5bc0cb7abf32c9aa2b4
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Nov 18 20:56:07 2015 +1100

    qa: 518, 578, 778 & 837: extra diagnostics to help debug failures

commit ad373899bddf60e037888b8edc6cbadeaee7a6b9
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Nov 18 09:18:03 2015 +1100

    qa: 322, 721 & 1108: extra diagnostics to help debug failures

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: assorted, Ken McDonell <=