pcp
[Top] [All Lists]

pcp updates: build, pmdapapi

To: pcp@xxxxxxxxxxx
Subject: pcp updates: build, pmdapapi
From: Lukas Berk <lberk@xxxxxxxxxx>
Date: Thu, 18 Dec 2014 17:09:24 -0500
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Hi,

Changes commited to git://sourceware.org/git/pcpfans.git lberk/dev

Two quick changes; first, adding flex-devel to the fedora.spec file
(needed to build pcp after the hotproc changes).  Second, changing the
switch/case statements in pmdapapi to enums to avoid ordering issues
(Dave mentioned this to me yesterday when looking over the dynamic
metric description patch).

Cheers,

Lukas

build/rpm/fedora.spec |    3 +-
src/pmdas/papi/papi.c |   66 ++++++++++++++++++++++++++++----------------------
2 files changed, 40 insertions(+), 29 deletions(-)

commit eb02025f8e00602b96c865c16dd2e8b80bd21401
Author: Lukas Berk <lberk@xxxxxxxxxx>
Date:   Thu Dec 18 11:26:09 2014 -0500

    Change pmdapapi case statements to refer to macro enums
    
    Lets try to make sure the ordering of papi metrics doesn't change
    by using a macro enum and referring to those in the switch/case
    statements.  This also avoids having to label each manually with
    a comment, which, as the diff shows, can become out of date.

commit 6ad02f4cf60f73c544b0c46cc0dc2175a8a9dfe4
Author: Lukas Berk <lberk@xxxxxxxxxx>
Date:   Thu Dec 18 11:24:33 2014 -0500

    Add new flex-devel buildreq to fedora.spec
    
    Some of the awesome new hotproc functionality requires flex-devel
    to build pcp, add it to the spec file.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: build, pmdapapi, Lukas Berk <=