Changes committed to git://git.performancecopilot.org/pcp.git dev
qa/985.out | 18 ++--
src/pcp/GNUmakefile | 2
src/pcp/dmcache/.gitignore | 1
src/pcp/dmcache/GNUmakefile | 34 ++++++++
src/pcp/dmcache/pcp-dmcache.1 | 38 +++++++++
src/pcp/dmcache/pcp-dmcache.py | 125 +++++++++++++++++++++++++++++++
src/pmdas/dmcache/pmdadmcache.python | 10 +-
src/pmdas/linux/proc_net_rpc.c | 9 +-
src/pmdas/linux/proc_net_snmp.c | 33 ++++----
src/pmdas/linux/proc_net_sockstat.c | 23 ++---
src/pmdas/linux/proc_net_tcp.c | 11 +-
src/pmdas/linux/proc_scsi.c | 12 +--
src/pmdas/linux/proc_slabinfo.c | 10 +-
src/pmdas/linux/proc_stat.c | 4 -
src/pmdas/linux/proc_sys_fs.c | 9 +-
src/pmdas/linux/proc_uptime.c | 9 +-
src/pmdas/linux/proc_vmstat.c | 13 ++-
src/pmdas/linux/swapdev.c | 4 -
src/pmdas/linux/sysfs_kernel.c | 8 +-
src/pmdas/linux/sysfs_kernel.h | 6 -
src/python/pcp/pmapi.py | 35 ++++++--
src/python/pcp/pmcc.py | 140 ++++++++++++++++++++++++++++-------
src/python/pmapi.c | 8 --
23 files changed, 433 insertions(+), 129 deletions(-)
commit 67b41d99715b0e4c6e4edc3836855925526c8c61
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Jul 29 18:33:54 2014 +1000
pmdadmcache: values in kb, not bytes, for some metrics
commit 8682e86b4725bd4080c77a9b84a5277d687209bb
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Jul 29 18:33:03 2014 +1000
pcp-dmcache: small utility for reporting dm-cache metrics
Simple tool for reporting dm-cache read/write hit/miss metrics
amongst other things. Relies on the heavy lifting being done
within pcp.pmcc and a few fixes and extensions are made there
to help. Those include robustness tweaks allowing for missing
data, empty options, correctly updating the sample count so it
can be visible in more places, and optionally performing rate
conversion with the prev/now results its already caching.
Also found a reference counting issue with non-option argument
handling in the pmapi wrapper, uncovered now that we're using
it in more interesting ways.
Focussed QA testing will follow in next series of commits, but
no regressions found here so far with the existing tests.
commit fd032bf80d2fa464e18d46934ff1194e234fc946
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Jul 29 15:23:51 2014 +1000
python api: timeval cast helpers, string routine improvements
Extend the python API to provide timeval structure convenience
accessors for int/long/float casting (helps with str routines).
Add in missing pmNumberStr_r interface. Convert pmUnitStr use
to thread-safe variant. Remove an unneeded memory allocation
in the derived metric error handling wrapper interface.
commit 42c40a5b3350bae98dee4457ddd601defb463427
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Jul 29 10:57:09 2014 +1000
Update test qa/985 after dmcache.dirty semantics change
commit fb64ee627632fd79b0e4ab17da981590d7602791
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Jul 28 09:34:13 2014 +1000
pmdalinux: allow for mock testing with canned proc/sysfs files
The remaining PMDA file accesses are now converted as well.
|