pcp
[Top] [All Lists]

pcp updates: kenj+hemant merges, qa

To: PCP <pcp@xxxxxxxxxxx>
Subject: pcp updates: kenj+hemant merges, qa
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 15 Feb 2016 00:00:01 -0500 (EST)
Delivered-to: pcp@xxxxxxxxxxx
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: 3GINw8Lp6knvDC2OfpTpqagDOvKjMA==
Thread-topic: pcp updates: kenj+hemant merges, qa
Changes committed to git://git.pcp.io/pcp.git master

Ken McDonell (21):
      qa/622: a but more sample.negative fallout
      qa/880: add notrun guard if pmrep not installed
      qa/201: make sure temporary files are cleaned up
      qa/440: make sure temporary files are cleaned up
      src/libpcp/src/util.c: reduce chance of temp file debris from pmprintf()
      qa/1070: filter out local timezone from pmrep
      src/libpcp_pmda/src/queues.c: rework diagnostics in pmdaEventNewClient()
      libpcp: fix __pmStringValue() to allow negative PM_TYPE_FLOAT values
      src/pmval/pmval.c: correct handling of real negative values
      src/libpcp_pmda/src/queues.c: cleanup the diagnostic reporting
      qa/287: extend the test a little
      qa/086: (new) exercise pcp clients with sample.negative metrics
      qa/group: add 806, cleanup the pmval group assignments
      qa/380: remove duplicated exit block
      qa/498: remade .out after libpcp_pmda diagnostic changes
      qa/956: change to use _save_config and _restore_config
      qa/common.check: _cleanup_pmda() should not remove temp files
      qa/287.out.64: remade after test and pmval changes
      qa/287.out.32: remade after test and pmval changes
      Revert "src/libpcp/src/util.c: reduce chance of temp file debris from 
pmprintf()"
      src/libpcp/src/util.c: rework temp file cleanup from pmprintf

Nathan Scott (4):
      pmdaperfevent: small cleanups on derived metrics review
      qa: ensure pcp-vmstat test archive has all needed metrics
      qa: updates to tests affected by recent pmdaperfevent additions
      qa: filter hostname from all pmval output in test 806

Hemant Kumar (1):
      pmdaperfevent: add perfevent.derived.active metric


 man/man1/perfalloc.1         |   31 ++-
 man/man1/pmdaperfevent.1     |   52 ++++--
 qa/1062.out                  |   18 +-
 qa/1070                      |   23 ++
 qa/1070.out                  |    4 
 qa/201                       |    4 
 qa/256                       |   11 +
 qa/287                       |    4 
 qa/287.out.32                |  200 ++++++++++++++++++++----
 qa/287.out.64                |  200 ++++++++++++++++++++----
 qa/380                       |    3 
 qa/440                       |    4 
 qa/498.out                   |  344 +++++++++++++++++++++--------------------
 qa/662.out.4                 |   14 +
 qa/662.out.46                |   28 +++
 qa/757                       |    1 
 qa/757.out                   |    3 
 qa/804.out                   |   10 -
 qa/806                       |  111 +++++++++++++
 qa/806.out                   |  353 ++++++++++++++++++++++++++++++++++++++++++-
 qa/880                       |    2 
 qa/956                       |    8 
 qa/archives/mk.vmstat.sh     |    1 
 qa/archives/pcp-vmstat.0     |binary
 qa/archives/pcp-vmstat.index |binary
 qa/archives/pcp-vmstat.meta  |binary
 qa/common.check              |    1 
 qa/group                     |   54 +++---
 src/libpcp/src/check-statics |    1 
 src/libpcp/src/stuffvalue.c  |    2 
 src/libpcp/src/util.c        |   36 +++-
 src/libpcp_pmda/src/queues.c |   41 ++--
 src/pmdas/perfevent/help     |    2 
 src/pmdas/perfevent/pmda.c   |   83 +++++++---
 src/pmval/pmval.c            |   54 ++++--
 35 files changed, 1301 insertions(+), 402 deletions(-)


commit a02b8f7262bc6242fd0e5241b8a0fe70f266c943
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Feb 15 15:57:36 2016 +1100

    qa: filter hostname from all pmval output in test 806

commit fdc2ca2dc7c0a6b6d5269d5238108cb82cbad314
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Feb 15 15:56:36 2016 +1100

    qa: updates to tests affected by recent pmdaperfevent additions

commit fbce873a5b2aef034ae7eca123f8810b32f40fcd
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Feb 15 15:55:36 2016 +1100

    qa: ensure pcp-vmstat test archive has all needed metrics

commit 0744454f39ce9107e35c517666900eddad9ae085
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Feb 15 12:04:52 2016 +1100

    pmdaperfevent: small cleanups on derived metrics review
    
    Added some notes re sysctl to the man pages, added some more
    code comments.  Small formatting consistency updates.

commit a278f78de37e110a658a377e624004804bf651aa
Author: Hemant Kumar <hemant@xxxxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 11:32:24 2016 +1100

    pmdaperfevent: add perfevent.derived.active metric
    
    This patch adds a metric perfevent.derived.active which will be
    permanently present and gives the number of active perf derived
    events.  This also helps in avoiding a warning message which is
    shown if there are no perf derived events.
    
    Signed-off-by: Hemant Kumar <hemant@xxxxxxxxxxxxxxxxxx>

commit 3f74974f292393a11c70c3e4fc894f718efcb7a1
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 09:24:03 2016 +1100

    src/libpcp/src/util.c: rework temp file cleanup from pmprintf
    
    Use atexit handler.  Update check-statics as a consequence.

commit dd52a7190c3fd28d0365ab13e3c4409f89276e89
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:49:35 2016 +1100

    Revert "src/libpcp/src/util.c: reduce chance of temp file debris from 
pmprintf()"
    
    This reverts commit 43caaf25fe8842135b0b224994d477a2ece3745b.
    
    Cannot unlink early ... fname is needed if PCP_XCONFIRM_PROG run from
    pmflush().

commit 4a4f94062ade09044bc078ed2a46137e4aa80278
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:23:38 2016 +1100

    qa/287.out.32: remade after test and pmval changes

commit dc02e36da71a16b525ee30efda9acbff84441943
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:16:46 2016 +1100

    qa/287.out.64: remade after test and pmval changes

commit a10d1f2f759c6ab498af4f05f1c784727c8dcbdd
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:14:10 2016 +1100

    qa/common.check: _cleanup_pmda() should not remove temp files

commit 8667af9324f70e66e297091b5c995e8cbb8dca31
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:13:22 2016 +1100

    qa/956: change to use _save_config and _restore_config

commit 2e668d7c9e919dc852e79a737ddd054139a6334f
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:12:47 2016 +1100

    qa/498: remade .out after libpcp_pmda diagnostic changes

commit 508436cbf1d4b752bff208680c201ccd91b07dc7
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:12:13 2016 +1100

    qa/380: remove duplicated exit block

commit 151a4f644fc0719de50ea89a145dcf2f7f903f63
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:11:28 2016 +1100

    qa/group: add 806, cleanup the pmval group assignments

commit d1904a7d316ee533186d7778a8edaf005c152b18
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:10:46 2016 +1100

    qa/086: (new) exercise pcp clients with sample.negative metrics

commit 18e7f5579a03cca1a6eec14af37f6e54f1541e5c
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:05:52 2016 +1100

    qa/287: extend the test a little
    
    Arising from pmval negative values changes.

commit 7e8863461902f52991c9f1c42b72494ccec8e07c
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:05:09 2016 +1100

    src/libpcp_pmda/src/queues.c: cleanup the diagnostic reporting

commit 896b1dbbeb6a8830b4e71bf1d595afb4deebf769
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 07:21:03 2016 +1100

    src/pmval/pmval.c: correct handling of real negative values
    
    Required some rework of the "wrap detection" logic, which was causing
    "!" to be printed instead of negative values for non-counter metrics.

commit babf659d3ab7257f53bf55777c3030661c47b8e3
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 07:18:59 2016 +1100

    libpcp: fix __pmStringValue() to allow negative PM_TYPE_FLOAT values
    
    Check for float to double truncation was wrong.

commit f117b9da157de0b9086bbe879d135413b7bf5cda
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Feb 14 06:58:54 2016 +1100

    src/libpcp_pmda/src/queues.c: rework diagnostics in pmdaEventNewClient()
    
    1. always report a new client
    2. diags should be emitted vi fprintf to stderr, not

commit b1eb5aacf4130a6614f16ae404a54868d478541e
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Feb 13 19:40:53 2016 +1100

    qa/1070: filter out local timezone from pmrep

commit 43caaf25fe8842135b0b224994d477a2ece3745b
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Feb 13 19:30:43 2016 +1100

    src/libpcp/src/util.c: reduce chance of temp file debris from pmprintf()
    
    Close the window between creating and unlinking the temporary
    file used by pmprintf() and friends.
    
    This was causing files with names like pcp-XXXXXX to be sometimes
    left behind in /var/tmp when QA tests were interrupted.

commit 3c07a194b8ad251d9984451e7d6fc4ce0c003500
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Feb 13 19:29:44 2016 +1100

    qa/440: make sure temporary files are cleaned up

commit 0449cd0fc7e0efe25553b6d5fbb6af4c5652d5d1
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Feb 13 19:29:03 2016 +1100

    qa/201: make sure temporary files are cleaned up

commit efda53e888303dbd209b09faebe6f77e0f32e919
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Feb 13 13:48:39 2016 +1100

    qa/880: add notrun guard if pmrep not installed

commit 14ff22479eddb1c349bfb55b93dd289d44f6118b
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Feb 13 06:44:38 2016 +1100

    qa/622: a but more sample.negative fallout

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: kenj+hemant merges, qa, Nathan Scott <=