This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
src ./ChangeLog ./main.cxx ./parse.cxx ./sessi ...
- From: jistone at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 28 Sep 2006 01:48:59 -0000
- Subject: src ./ChangeLog ./main.cxx ./parse.cxx ./sessi ...
CVSROOT: /cvs/systemtap
Module name: src
Changes by: jistone@sourceware.org 2006-09-28 01:48:59
Modified files:
. : ChangeLog main.cxx parse.cxx session.h
stapprobes.5.in tapsets.cxx
testsuite : ChangeLog
testsuite/buildok: fourteen.stp
Log message:
2006-09-27 Josh Stone <joshua.i.stone@intel.com>
* session.h (struct systemtap_session): Add kernel_base_release
to store the kernel version without the -NNN suffix.
* main.cxx (main): Generate and use kernel_base_release.
* parse.cxx (eval_pp_conditional): Use kernel_base_release.
* tapsets.cxx (profile_derived_probe::profile_derived_probe):
Use kernel_base_release.
* tapsets.cxx (timer_builder::build): Support a wide variety of
timer varients -- jiffies, s/sec, ms/msec, us/usec, ns/nsec, and
hz. Use hrtimers automatically on kernels that have it.
(timer_builder::register_patterns): Bind all of the new timer
varients in one easy place.
(register_standard_tapsets): Call timer_builder::register_patterns.
(struct hrtimer_builder): Removed since timer_builder is generic.
* stapprobes.5.in: Document new timer.* functionality.
* tapsets.cxx (hrtimer_derived_probe_group::emit_probes): Add a
shared global for the actual hrtimer resolution, _stp_hrtimer_res.
(hrtimer_derived_probe_group::emit_module): Init _stp_hrtimer_res.
(hrtimer_derived_probe::emit_interval): Limit intervals at a
minimum to the hrtimer's actual resolution.
(hrtimer_derived_probe::emit_probe_entries): Forward timers
based on previous expiration instead of restarting relative.
testsuite/
* buildok/fourteen.stp: Test new timer functionality.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ChangeLog.diff?cvsroot=systemtap&r1=1.469&r2=1.470
http://sourceware.org/cgi-bin/cvsweb.cgi/src/main.cxx.diff?cvsroot=systemtap&r1=1.52&r2=1.53
http://sourceware.org/cgi-bin/cvsweb.cgi/src/parse.cxx.diff?cvsroot=systemtap&r1=1.54&r2=1.55
http://sourceware.org/cgi-bin/cvsweb.cgi/src/session.h.diff?cvsroot=systemtap&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/stapprobes.5.in.diff?cvsroot=systemtap&r1=1.21&r2=1.22
http://sourceware.org/cgi-bin/cvsweb.cgi/src/tapsets.cxx.diff?cvsroot=systemtap&r1=1.144&r2=1.145
http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/ChangeLog.diff?cvsroot=systemtap&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/buildok/fourteen.stp.diff?cvsroot=systemtap&r1=1.4&r2=1.5