This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.4-332-g2f6f11a
- From: dsmith at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 11 May 2011 19:08:23 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.4-332-g2f6f11a
- Reply-to: systemtap at sourceware dot org
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "systemtap: system-wide probe/trace tool".
The branch, master has been updated
via 2f6f11ae36f991ce7ec2ed2b09063a4531574353 (commit)
via fe564f649eed3d1da0fe3564ec8119e691fac759 (commit)
via 57a147e066879c248bd34ad7b170e53cfcb13eb3 (commit)
via ee71ca07051bd71d2cd052a7db089a3e47c340ab (commit)
via fc9c0eb3b1ccdb88877e33871b06a586fb71260f (commit)
via 49b75dcff9a682d22a737206ebf3f37b58559473 (commit)
via 0187bce5b31e9056d98c18ada21d3e750d707efd (commit)
via 291607ecc293fef05863a5be59ee64917b6910ca (commit)
via 61dff4600c35b463fb486ae09e5357e34493df2f (commit)
via c8521249c6bb5f92a3df00bc38346860d588f578 (commit)
from 62c8a962e0a0735a0199f5543ca176b51a7d8291 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2f6f11ae36f991ce7ec2ed2b09063a4531574353
Merge: fe564f6 62c8a96
Author: David Smith <dsmith@redhat.com>
Date: Wed May 11 14:08:05 2011 -0500
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
commit fe564f649eed3d1da0fe3564ec8119e691fac759
Merge: ab11343 57a147e
Author: David Smith <dsmith@redhat.com>
Date: Wed May 11 12:52:34 2011 -0500
Merge branch 'master' of git://oss.sgi.com/nathans/systemtap
* 'master' of git://oss.sgi.com/nathans/systemtap:
Resolve a couple of issues from missing log file handling code.
Minor cleanups after writing QA tests.
Add code to deal with log file rotation.
Unify separate tables for tracking log files, simpler code.
Several additional metrics for log file PCP agent.
Update the domain number comment now that one is reserved.
Uncomment the seek-to-end-of-log-file code in pmdalogger.
Remove further shared library remnants in pmdalogger build.
commit 57a147e066879c248bd34ad7b170e53cfcb13eb3
Author: Nathan Scott <nathans@debian.org>
Date: Mon May 9 08:27:47 2011 +1000
Resolve a couple of issues from missing log file handling code.
If we do not stat the file on initial opening as well, the first
ino/dev comparison fails and we end up always reopening the file
at least once.
Whenever we have a successful stat call on logfile, keep latest
output in case we ever want to use last-modified times, etc.
commit ee71ca07051bd71d2cd052a7db089a3e47c340ab
Author: Nathan Scott <nathans@debian.org>
Date: Sat May 7 13:33:45 2011 +1000
Minor cleanups after writing QA tests.
Most interesting change is handling accidental use of a
directory name as a log file name, doesn't spam the log.
commit fc9c0eb3b1ccdb88877e33871b06a586fb71260f
Author: Nathan Scott <nathans@debian.org>
Date: Fri May 6 13:45:46 2011 +1000
Add code to deal with log file rotation.
Depending on how the log file is rotated, it will often end up backed
by a new inode (new log file) as the previous one is renamed (usually
with yesterdays log timestamp). When this happens, we'll stop getting
events ... unfortunate.
So, make use of the stat data queried at start of fetch now to ensure
we detect this scenario, close the old file and switch to the new one
seamlessly. In the process, we need to make sure we handle the case
where the file doesn't exist.
commit 49b75dcff9a682d22a737206ebf3f37b58559473
Author: Nathan Scott <nathans@debian.org>
Date: Fri May 6 09:28:24 2011 +1000
Unify separate tables for tracking log files, simpler code.
Simplify the code a little, unifying the two separate tables
for tracking open log files.
Also added support for comments (#-prefixed) in the config file.
commit 0187bce5b31e9056d98c18ada21d3e750d707efd
Author: Nathan Scott <nathans@debian.org>
Date: Tue May 3 21:28:06 2011 +1000
Several additional metrics for log file PCP agent.
Add in counts of bytes and events seen per logfile, and the
current log file size for each. This will aid debugging and
day-to-day monitoring of more complex, hierarchical (r)syslog
deployments, for example.
Added a fetch callback so initial code to check status of the
monitored log files could be added - will need to extend this
though, to deal with the common case of logfile rotation.
Minor cleanups - pmid_string field is not a string, rename;
do not explicitly initialise global variables to zero, as the
compiler will happily do that; metric semantics for a couple
of metrics not-quite-right (discrete vs instant).
commit 291607ecc293fef05863a5be59ee64917b6910ca
Author: Nathan Scott <nathans@debian.org>
Date: Mon May 2 17:28:00 2011 +1000
Update the domain number comment now that one is reserved.
commit 61dff4600c35b463fb486ae09e5357e34493df2f
Author: Nathan Scott <nathans@debian.org>
Date: Mon May 2 17:27:17 2011 +1000
Uncomment the seek-to-end-of-log-file code in pmdalogger.
For real world uses, we need to do this so that even moderately
sized log files are not read from start to end whenever the PMDA
starts up - wastes CPU cycles and (re)generates events that may
have happened long ago.
commit c8521249c6bb5f92a3df00bc38346860d588f578
Author: Nathan Scott <nathans@debian.org>
Date: Mon May 2 17:25:11 2011 +1000
Remove further shared library remnants in pmdalogger build.
-----------------------------------------------------------------------
Summary of changes:
pcp/src/pmdas/logger/GNUmakefile.in | 18 ++--
pcp/src/pmdas/logger/event.c | 189 ++++++++++++-----------------------
pcp/src/pmdas/logger/event.h | 37 ++++++-
pcp/src/pmdas/logger/logger.c | 162 ++++++++++++++++++++----------
4 files changed, 214 insertions(+), 192 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool