pcp
[Top] [All Lists]

pcp updates: pmOptions + derived metrics, sunos build tweaks

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: pcp updates: pmOptions + derived metrics, sunos build tweaks
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 23 Jul 2015 02:53:52 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <332697314.3251488.1437634280115.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: I4zNO5NR+iWLsAllpmG1Cnoa0I3r9w==
Thread-topic: pcp updates: pmOptions + derived metrics, sunos build tweaks
Changes committed to git://git.pcp.io/nathans/pcp.git master

Nathan Scott (3):
      build: support libzfs APIs differences from solaris/illumos
      libpcp: support derived metrics path in pmGetOptions
      rc scripts: drop mirroring recent syslog writes to stderr


 configure                         |   77 ++++++++++++++++++++++++++++++----
 configure.ac                      |   35 ++++++++++++---
 man/man3/pmloadderivedconfig.3    |   41 ++++++++++++++----
 qa/075.out                        |    1 
 qa/225.out                        |    2 
 qa/344.out                        |   44 +++++++++----------
 qa/434.out                        |    1 
 qa/569.out                        |    2 
 qa/773.out                        |    6 +-
 qa/965                            |   34 +++++++++++++++
 qa/965.out                        |   12 +++++
 qa/group                          |    1 
 src/include/pcp/config.h.in       |    5 ++
 src/include/pcp/pmapi.h           |    3 +
 src/libpcp/src/derive.c           |   84 +++++++++++++++++++++++++-------------
 src/libpcp/src/getopt.c           |   15 ++++++
 src/pmcd/rc_pmcd                  |    2 
 src/pmdas/solaris/zpool_perdisk.c |   10 ++++
 src/pmie/rc_pmie                  |    6 +-
 src/pminfo/pminfo.c               |    6 +-
 src/pmlogger/rc_pmlogger          |    2 
 src/pmprobe/pmprobe.c             |    1 
 src/pmval/pmval.c                 |    1 
 23 files changed, 304 insertions(+), 87 deletions(-)


commit 24ad2b2fe6b60b26efeaa823fcad29612fb9db3a
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jul 23 16:37:35 2015 +1000

    rc scripts: drop mirroring recent syslog writes to stderr
    
    Plays havoc with QA (logger(1) prefixes with the username
    too for some reason, so not fun filtering either) and for
    many cases we're backgrounded and stderr is going nowhere
    helpful anyway.

commit fe0ac62e1bae357d406a7e2a0ffbe6287ce6f451
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jul 23 15:45:46 2015 +1000

    libpcp: support derived metrics path in pmGetOptions
    
    Extend pmLoadDerivedConfig to match the PCP_DERIVED_CONFIG env
    variable - with $PATH-like colon separator for multiple metric
    definition files - and allow its use via macros.
    
    pminfo got support via the pmLoadDerivedConfig extension, but
    pmprobe and pmval have now been converted to make use of the
    new pmGetOptions macro so that they too support the --derived
    option now.

commit 25f353905b0453f3b84619d28c023fca872d6b05
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jul 23 11:27:49 2015 +1000

    build: support libzfs APIs differences from solaris/illumos
    
    Check for the known different zpool_vdev_name libzfs APIs,
    and use the variant found in the build root.  Should solve
    a build issue reported by jeffpc recently.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: pmOptions + derived metrics, sunos build tweaks, Nathan Scott <=