pcp
[Top] [All Lists]

pcp updates: pmcd static probes

To: pcp@xxxxxxxxxxx
Subject: pcp updates: pmcd static probes
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 28 Aug 2013 05:58:11 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1769321879.7695900.1377683842797.JavaMail.root@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: za63PMiJAHARc8Uyv6Vl0MSi49o42Q==
Thread-topic: pcp updates: pmcd static probes
Changes committed to git://oss.sgi.com/pcp/pcp.git dev

 build/rpm/GNUmakefile                |    2 
 build/rpm/fedora.spec                |    1 
 build/rpm/pcp.spec.in                |    3 
 configure                            |  820 ++++++++++++++++++++++++-----------
 configure.in                         |   78 ++-
 src/include/builddefs.in             |    8 
 src/include/pcp/GNUmakefile          |    6 
 src/include/pcp/config.h             |  678 ++++++++++++++++++++++++++++
 src/include/pcp/config.h.in          |  671 ++++++++++++++++++++++++++++
 src/include/pcp/platform_defs.h.in   |    2 
 src/include/pcp/platform_header.h.in |  674 ----------------------------
 src/libpcp/src/config.c              |    6 
 src/libpcp_pmcd/src/.gitignore       |    1 
 src/libpcp_pmcd/src/GNUmakefile      |   14 
 src/libpcp_pmcd/src/probes.d         |    3 
 src/libpcp_pmcd/src/trace.c          |   35 -
 src/pmcd/src/GNUmakefile             |   33 -
 src/pmcd/src/agent.c                 |    8 
 src/pmcd/src/client.c                |    9 
 src/pmcd/src/config.c                |   43 -
 src/pmcd/src/dofetch.c               |   45 -
 src/pmcd/src/dopdus.c                |  221 ++++-----
 src/pmcd/src/dostore.c               |   36 -
 src/pmcd/src/pmcd.c                  |   48 --
 src/pmcd/src/pmcd.h                  |    4 
 src/pmcd/src/probes.d                |   32 -
 26 files changed, 2262 insertions(+), 1219 deletions(-)

commit febdc81c2057b3dd51860e606fda78b9c920b3af
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Aug 28 17:41:40 2013 +1000

    Add static probes into the rpm builds, rejig some bits
    
    Where "rejig" covers:
    - make configure magic default to probes-on if it can;
    - enable (unconditionally) sdt.h builds for fedora
    - we somehow ended up with two AC_CONFIG_HEADER calls,
      and two files with the same role (platform_header.h
      and config.h) - picked the more normally-used name in
      autoconf projects (config.h) and merged 'em.
    - keep configure AC_CHECK_PROGS calls together, & also
      keep the builddefs.in definitions of same in one spot.
    - add a libpcp __pmGetAPIConfig entry for static_probes
      so Stan can use it in his planned QA test.
    - moved dtrace invocation into libpcp_pmda sources, cos
      thats where the macro is used, not directly in pmcd.
      not sure how this built before ... but trace.c in the
      library needs probes.h, which lived over in pmcd/src
      and is only generated later on in the build... little
      circular dependency there.
    - remove out-of-date comment in probes.d
    - add probes.h to .gitignore file since its generated
    - Stan and I chatted, and realised we didn't need the new
      trace_mask addition to pmcd_trace - pmcd_trace_mask was
      already global, and the switch already handled checking
      if it was not set.
    - delayed the allocation of pmcd trace buffer until after
      the is-tracing-enabled check, so that we don't allocate
      this buffer needlessly.

commit c3c8a0841d90357c0581939debedee80ed6b94f9
Merge: e18bddf ec01bb0
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Aug 28 16:23:25 2013 +1000

    Merge branch 'scox/dev' of ../pcpfans into dev

commit ec01bb0599d70111f5c79a18e9397e46172cc9d4
Author: Stan Cox <scox@xxxxxxxxxx>
Date:   Tue Aug 27 21:03:33 2013 -0400

    Add systemtap sdt probes.
    
    * configure.in: Add --enable-dtrace and AC_CONFIG_HEADERS.
    * builddefs.in: Add DTRACE and enable_dtrace
    * GNUmakefile: Add probes.h and probes.o
    * libpcp_pmcd/src/trace.c: Include config.h and probes.h.
      Add trace_mask and static probe landing point to pmcd_trace
    * (agent.c, client.c, config.c, dofetch.c, dopdus.c, dostore.c,
       pmcd.c, pmcd.h):  New pmcd_trace calling sequence.
    * probes.d: New.  systemtap static probe definition file.

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