pcp
[Top] [All Lists]

pcp updates: lberk papi

To: pcp@xxxxxxxxxxx
Subject: pcp updates: lberk papi
From: Lukas Berk <lberk@xxxxxxxxxx>
Date: Thu, 4 Sep 2014 20:34:04 -0400
Delivered-to: pcp@xxxxxxxxxxx
Reply-to: Lukas Berk <lberk@xxxxxxxxxx>
User-agent: Mutt/1.5.23 (2014-03-12)
Changes committed to git://sourceware.org/git/pcpfans.git lberk/lberk-merge

commit a35a1d3d2cee7e743eb16ebe65c85ec579ea92ca
Author: Lukas Berk <lberk@xxxxxxxxxx>
Date:   Thu Sep 4 20:26:54 2014 -0400

    Return PM_ERR_CONV in the case of a metric being disabled that doesn't exist
    
    *src/pmdas/papi/papi.c - return an error code for the case where
                         papi.control.disable "I_DONT_EXIST" is passed

commit de3030db21ccd98b35f2526cfe85e54fc5cd8fc5
Author: Lukas Berk <lberk@xxxxxxxxxx>
Date:   Thu Sep 4 19:30:35 2014 -0400

    Add checks that current events are available on hardware and not already in 
eventset
    
    *src/pmdas/papi/papi.c - add checks to ensure papi events specified are 
available
                         on the hardware before we actually go to add them
                         add debug message for when they aren't actually 
available
                         also add a check that we haven't already added the 
event
                         before making an effort to do so

commit f29df3a28f232c307c012bb5108c66905a0b5549
Author: Lukas Berk <lberk@xxxxxxxxxx>
Date:   Thu Sep 4 17:05:54 2014 -0400

    Fix adding papi metrics
    
    *src/pmdas/papi/papi.c - currently when we add enlarge papi_info,
                         we increase the size with a realloc, and then
                         memset the contents to zero.  Normally this would
                         be fine, however the .position member variable
                         (which represents the position in the values[] array)
                         is valid when set to zero (normally a negative number
                         when not in use for that metric).  Check that the
                         papi_info element we're trying to add also has  a
                         non-zero papi_event_code before adding.

commit 2f76e6fd581dbd7585691cee5efe63475750d3d4
Author: Lukas Berk <lberk@xxxxxxxxxx>
Date:   Thu Sep 4 12:11:44 2014 -0400

    Return 'No Values Available' if metric is not active
    
    *src/pmdas/papi/papi.c - in fetchcallback check to make sure the position 
is >=0

Attachment: pgpCVMmwyPSCB.pgp
Description: PGP signature

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