pcp
[Top] [All Lists]

pcp updates: pmcd/pmdaroot

To: PCP <pcp@xxxxxxxxxxx>
Subject: pcp updates: pmcd/pmdaroot
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 9 Dec 2015 01:27:52 -0500 (EST)
Delivered-to: pcp@xxxxxxxxxxx
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: dsO/UQKFZz+z20aKjBCsCb8b3Xb3AA==
Thread-topic: pcp updates: pmcd/pmdaroot
Changes committed to git://git.pcp.io/nathans/pcp.git master

Lukas Berk (1):
      pmcd: initial work around pmdaroot-starting-pmdas work


 src/include/pcp/pmda.h        |    4 
 src/include/pcp/pmdaroot.h    |   44 +++++++-
 src/libpcp_pmda/src/exports   |   11 ++
 src/libpcp_pmda/src/pduroot.c |  223 ++++++++++++++++++++++++++++++++++++++++++
 src/libpcp_pmda/src/root.c    |   49 +++++++++
 src/pmcd/src/agent.c          |  116 +++++++++++++--------
 src/pmcd/src/config.c         |   52 ++++++++-
 src/pmcd/src/pmcd.c           |  103 +++++++++++++------
 src/pmcd/src/pmcd.h           |    7 +
 src/pmdas/root/GNUmakefile    |    8 -
 src/pmdas/root/Install        |   30 -----
 src/pmdas/root/Remove         |   25 ----
 src/pmdas/root/agent.c        |  164 ++++++++++++++++++++++++++++++
 src/pmdas/root/root.c         |   78 +++++++++++---
 src/pmdas/root/root.h         |    9 +
 15 files changed, 763 insertions(+), 160 deletions(-)


commit 76bedd2d2bc7f45ecf94db3e2e273b842a8f81e9
Author: Lukas Berk <lberk@xxxxxxxxxx>
Date:   Wed Dec 9 17:07:07 2015 +1100

    pmcd: initial work around pmdaroot-starting-pmdas
    
    pmcd can now use AF_UNIX socket based communication with pmdaroot(1)
    (a PMDA with elevated privledges); pmcd will now try and start pmdas
    via pmdaroot.  pmdaroot will start requested pmdas, and pass back
    their in/out fd's to pmcd for subsequent communication.
    
    Currently disabled, some error handling and further cleanup, testing
    and documentation work remains.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: pmcd/pmdaroot, Nathan Scott <=