[ interesting change, IMO anyway :), worth a code review if
you've got nothing better to do! ]
Changes committed to git://oss.sgi.com/pcp/pcp.git dev
VERSION.pcp | 2
build/rpm/fedora.spec | 21 ++++
debian/changelog | 6 +
qa/022 | 5 -
qa/022.linux.4 | 197 ++++++++++++++++++++++++++++++++++++++++
src/pmdas/linux_proc/cgroups.c | 73 +-------------
src/pmdas/linux_proc/cgroups.h | 2
src/pmdas/linux_proc/clusters.h | 9 -
src/pmdas/linux_proc/contexts.c | 74 +++++++++++++++
src/pmdas/linux_proc/contexts.h | 21 +++-
src/pmdas/linux_proc/help | 42 ++++++++
src/pmdas/linux_proc/pmda.c | 162 +++++++++++++++++++++-----------
src/pmdas/linux_proc/proc_pid.c | 109 ++++++++++++++++------
src/pmdas/linux_proc/proc_pid.h | 13 --
src/pmdas/linux_proc/root_proc | 16 +++
15 files changed, 575 insertions(+), 177 deletions(-)
commit 5762267616f740ef8709c3bcb3e74098d28e2ec4
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Sep 17 19:02:29 2013 +1000
Server side filtering of process instance domain (threads/cgroups)
The Linux proc PMDA exports the set of all processes (incl threads)
as its primary instance domain, for all metrics that have per-process
metrics.
This commit provides a mechanism for either per-client or system wide
filtering of that set (process instance domain). A series of metrics
are added allowing finer-grained filtering of this set, such that all
processes, or all-processes-and-all-threads, or all-processes-within-
a-cgroup, or all processes-and-all-threads-within-a-cgroup can be
requested instead. This serves to limit the data that needs to be
sent to a client, or stored on disk (or sampled in the kernel, in the
case of cgroups), and provides a convenient way to allow clients to
become cgroup-aware (in terms of the process metrics anyway).
See "pminfo -T proc.control" for further details on the different ways
client tools can make use of this mechanism.
commit 9cabed96a77aa4ca66c82c6a688cb1b2b24913cc
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Sep 17 18:58:00 2013 +1000
Bump dev branch version numbers for next development phase
|