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.6-109-gde5f477
- From: jistone at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 16 Aug 2011 22:17:02 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.6-109-gde5f477
- 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 de5f477ba5f62c5844316272a3f1cbaba3d22fbe (commit)
from a0d5529094d4772c955c30f6891e82cdf17d15d0 (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 de5f477ba5f62c5844316272a3f1cbaba3d22fbe
Author: Josh Stone <jistone@redhat.com>
Date: Mon Aug 8 13:54:06 2011 -0700
PR11209: Add cpu_clock and local_clock
This adds cpu_clock_ns(cpu), local_clock_ns(), and their coarser
variants. These are monotonic wallclock time sources, rather than the
absolute time-since-epoch sort. On kernels too old for these functions,
it falls back to stap's gettimeofday.
A kernel supports this only if it has the functions exported, and if it
is deemed new enough to have the patches that make it NMI-safe. See the
comment in timestamp_monotonic.stp for details.
* buildrun.cxx: Add export checks for cpu_clock and local_clock.
* tapset/timestamp_monotonic.stp: Define the new functions.
* testsuite/buildok/timestamp_monotonic-embedded.stp: Build them.
* doc/SystemTap_Tapset_Reference/tapsets.tmpl: Include the new docs.
-----------------------------------------------------------------------
Summary of changes:
buildrun.cxx | 4 +
doc/SystemTap_Tapset_Reference/tapsets.tmpl | 1 +
tapset/timestamp.stp | 3 -
tapset/timestamp_gtod.stp | 2 -
tapset/timestamp_monotonic.stp | 142 ++++++++++++++++++++
testsuite/buildok/timestamp_monotonic-embedded.stp | 13 ++
6 files changed, 160 insertions(+), 5 deletions(-)
create mode 100644 tapset/timestamp_monotonic.stp
create mode 100755 testsuite/buildok/timestamp_monotonic-embedded.stp
hooks/post-receive
--
systemtap: system-wide probe/trace tool