Changes committed to git://oss.sgi.com/pcp/pcp.git dev
man/man1/pmevent.1 | 20 ++++++++++++----
src/pmdas/logger/logger.c | 29 +++++++----------------
src/pmevent/doargs.c | 56 +++++++++++++++++++++++-----------------------
3 files changed, 52 insertions(+), 53 deletions(-)
commit abe057b452de5162fab21c419c70dbb884684362
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Jul 4 09:00:40 2011 +1000
Extend the event store mechanism to be more generally useful.
Instead of just storing an integer 1 to the event trace metric,
send an arbitrary string. Contents and interpretation are still
PMDA-specific, but this allows much more interesting filtering
of events on the server side (instead of just being a basic way
to restrict access).
We could extend pmdalogger to filter based on a regex this way,
later on, once it becomes more line-oriented. More interesting
uses may exist for future PMDAs - this could provide a way for
systemtap/dtrace scripts to be sent to the server from clients,
for example.
|