| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* systemtap.samples/tcptest.exp: Put TCP load gen into a
a seperate script.
* systemtap.samples/tcptest.tcl: new script for TCP load
gen.
|
|
|
|
|
| |
* systemtap.base/timers.stp: Fudge the comparison a bit between
jiffies(1) and profile to allow for slop between start/end times.
|
|
|
|
|
|
|
| |
* systemtap.maps/pmap_agg_overflow.stp: Use
kernel.function("scheduler_tick") instead of timer.jiffies
so the test works on all kernels. The test needs a probe
that is invoked often on all cpus.
|
|
|
|
|
| |
* systemtap.maps/pmap_agg_overflow.stp: Use timer.jiffies
instead of timer.profile so the test works on xen kernels.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* systemtap.base/cache.exp: Saves value of SYSTEMTAP_DIR
environment variable before starting tests and restores value at
the end. Without this caching was broken for the rest of the
testsuite, since all cached files were ending up in
testsuite/.cache_test (which gets deleted on the next run of the
testsuite).
* Makefile.am: The 'clean-local' target now removes the .systemtap
and .cache_test directories.
* Makefile.in: Regenerated.
|
|
|
|
|
| |
* systemtap.base/cache.exp (stap_compile): Fix a simple
buffering problem with expect.
|
|
|
|
|
|
|
|
| |
* test.exp, test.tcl: Remove our own caching code
and just use systemtap's new caching.
* acct.c (main): Make pattern less selective so
it works when run by root.
|
|
|
|
|
|
|
|
| |
* systemtap.base/cache.exp: New file that tests caching
functionality.
* lib/systemtap.exp (setup_systemtap_environment): Use a local
systemtap directory/cache (instead of the user's cache).
* .cvsignore: Added .systemtap directory.
|
|
|
|
|
| |
* lib/stap_run.exp: Handles cached module.
* lib/stap_run2.exp: Ditto.
|
|
|
|
| |
* test.exp (test_procedure): Handles cached module.
|
| |
|
|
|
|
|
| |
* systemtap.samples/tcptest.exp: fix bug #3404
* systemtap.samples/tcptest.stp: fix bug #3404
|
| |
|
|
|
|
| |
* systemtap.syscall/.cvsignore: Added file.
|
|
|
|
|
|
| |
header files
* runtime/lket/b2a/Makefile.am: set compile flags according to the existance of mysql_config
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding the support of automatically database creation and
dumping lket trace into mysql database
* configure.ac:
add the checking of mysql client library
* Makefile.in, configure:
regenerated
* runtime/lket/b2a/Makefile.am:
add the checking and optional compiling for mysql client library
* runtime/lket/b2a/Makefile.in:
regenerated
|
| |
|
| |
|
|
|
|
|
| |
* buildok/eighteen.stp: Fix for 2.6.18.
* buildok/two.stp: Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* systemtap.samples/args.exp: Looks for 'staprun' instead of
'stpd'.
|
|
|
|
| |
* test.tcl: Looks for 'staprun' instead of 'stpd'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3233
./
* stapfuncs.5.in: Document new gettimeofday_ns.
runtime/
* time.c (stp_time_t): Use ns for the base time, and freq is now kHz.
(__stp_estimate_cpufreq): Compute kHz instead of MHz.
(__stp_time_timer_callback, __stp_init_time): Compute base in ns.
(__stp_time_cpufreq_callback): Record kHz instead of MHz.
(_stp_init_time): Record kHz, and disable preemption to avoid a race
in the cpufreq notifier.
(_stp_gettimeofday_ns): Converted from _stp_gettimeofday_us.
tapset/
* timestamp.stp (gettimeofday_ns): New function
(gettimeofday_us, gettimeofday_ms, gettimeofday_s):
Use gettimeofday_ns as the base unit.
testsuite/
* buildok/timestamp.stp: add gettimeofday_ns test.
|
| |
|
| |
|
|
|
|
| |
* Added .cvsignore file.
|
| |
|
|
|
|
|
| |
* lib/systemtap.exp (stap_run_batch): New helper routine.
* systemtap.pass1-4/*.exp: Use it instead of catch/exec/>>& hack.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add basic support for initialized globals.
* parse.cxx (parse_global): Parse initialization clause, implement
by rewriting to "probe begin { var = value }".
* parse.h: Corresponding changes.
* stap.1.in: Document optional initialization.
2006-09-06 Frank Ch. Eigler <fche@elastic.org>
* parseok/eighteen.stp, semok/twentythree.stp: New files for
testing initialized globals.
|
| |
|
|
|
|
|
|
|
|
| |
* lib/stap_run.exp: Check for existence of installtest_p
before running it. This reenables running individual tests
with runtest.
* lib/stap_run2.exp: Ditto.
* lib/stap_run_binary.exp: Ditto.
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am (dist-hook): Make "make dist" dist.
* Makefile.in: Regenerated.
[testsuite]
2006-08-12 Frank Ch. Eigler <fche@elastic.org>
* Makefile.am (clean-local): Clean up dejagnu turds.
* Makefile.in: Regenerated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac, Makefile.am: Descend into testsuite/
directory. Remove local test logic.
* configure, Makefile.in: Regenerated.
* runtest.sh: Not yet removed.
* HACKING: Update for new testsuite layout.
2006-08-12 Frank Ch. Eigler <fche@elastic.org>
* all: Reorganized old pass-1..4 tests one dejagnu bucket.
Moved over old pass-5 tests, except for disabled syscalls tests.
* Makefile (installcheck): New target for running pass-1..5
tests against installed systemtap.
|
|
|
|
| |
* testsuite/buildok/iolock_test.stp: Updated for ioblock.stp
|
|
|
|
|
|
|
|
|
|
|
|
| |
* stapprobes.5.in, testsuite/buildok/memory.stp: move pagefault
to vm.* namespace
tapset/
* memory.stp: move pagefault to vm.* namespace, and add many other
virtual-memory themed probes.
tapset/LKET/
* pagefault.stp: move pagefault to vm.* namespace
|
|
|
|
|
|
|
|
|
| |
* tapset/signal.stp: Create a new tapset that addresses process signals.
Much of this was contributed by Manoj Pattabhiraman (IBM).
* tapset/process.stp: Remove aliases that now belong in signal tapset
* examples/small_demos/proc_snoop.stp,
testsuite/buildok/process_test.stp: Rename process.signal_* to
new signal.* tapset.
|
|
|
|
|
|
| |
* tapset/context.stp (probemod): New function.
* stapfuncs.5.in: Document it.
* testsuite/buildok/probemod.stp: Test it.
|
| |
|
|
|
|
|
| |
* testsuite/buildok/scsi.stp: Only run the scsi test if the scsi
kernel subsystem is running.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* parse.cxx (parser::expect_unknown2): New function that looks for
2 possible token types.
* parse.cxx (parser::expect_ident_or_keyword): New function that
calls parser::expect_unknown2.
* parse.cxx (parser::parse_symbol): Calls
parser::expect_ident_or_keyword to allow keywords to appear when
expanding target symbols (Bugzilla #2913).
* parse.h: Added prototypes for parser::expect_unknown2 and
parser::expect_ident_or_keyword.
* testsuite/parseok/seventeen.stp: New test to check for allowing
keywords when expanding target symbols.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tapsets.cxx (dwflpp::express_as_string): New function.
Extracted from dwflpp::literal_stmt_for_local() so that
dwflpp::literal_stmt_for_return() could also call it.
(dwflpp::literal_stmt_for_local): Portion extracted to create
dwflpp::express_as_string().
(dwflpp::literal_stmt_for_return): New function. Adds support for
new symbolic access ("$return") to return value in .return
probes. Fixes PR 1132.
(target_variable_flavour_calculating_visitor::visit_target_symbol):
Calls dwflpp::literal_stmt_for_return() when in a return probe and
the variable name is "$return".
(dwarf_var_expanding_copy_visitor::visit_target_symbol): Ditto.
* stapfuncs.5.in: Noted that the retval() function is deprecated.
* stapprobes.5.in: Corrected the name of the return value
variable.
* tapset/return.stp: Marked the retval() function as deprecated.
* testsuite/semko/return01.stp: Added new test.
* testsuite/semko/return02.stp: Ditto.
|
|
|
|
|
|
|
|
| |
PR 2645 cont'd.
* elaborate.cxx (derive_probes): Pass down optional flag
from alias reference to expansion.
* testsuite/semok/twentytwo.stp: Test passing-down.
* stapprobes.5.in: Specify passing-down property of optional flag.
|
|
|
|
|
|
|
|
|
|
|
| |
PR 2645 cont'd.
* elaborate.cxx (find_and_build): Support optional wildcards too.
(derive_probes): Change last argument to indicate optionalness of
parent probe point (alias reference).
(alias_expansion_builder): Shrink epilogue-mode alias body copying.
Pass along alias reference optionality.
* elaborate.h: Corresponding changes.
* testsuite/semko/thirtyfive.stp, semok/twentytwo.stp: New tests.
|
|
|
|
|
| |
* testsuite/buildok/process_test.stp: add signal_handle test
* examples/small_demos/proc_snoop.stp: log signal_handle
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 2645.
* stapprobes.5.in: Document "?" probe point suffix.
* parse.cxx (parse_probe_point): Recognize "?" optional suffix.
* elaborate.cxx (derive_probes): Observe probe_point->optional.
* staptree.h, staptree.cxx: Corresponding changes.
* tapsets.cxx (never_derived_probe, never_builder): New classes.
(register_standard_tapsets): Support "never" probe point.
* testsuite/buildok/six.stp, parseok/five.stp: Modifed tests.
* translate.cxx (emit_module_init): Format "-t" (benchmarking)
cycle-time reports similarly to "-v" (verbose) times.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* main.cxx (usage): Added exitcode parameter.
(main): Improved a few error messages. Also, when an error is
given, stap now always exits with a status of 1.
* testsuite/buildok/cmdline01.stp: New test.
* testsuite/parseko/cmdline01.stp: Ditto.
* testsuite/parseko/cmdline02.stp: Ditto.
* testsuite/parseko/cmdline03.stp: Ditto.
* testsuite/parseko/cmdline04.stp: Ditto.
* testsuite/parseko/cmdline05.stp: Ditto.
* testsuite/parseko/cmdline06.stp: Ditto.
* testsuite/parseok/cmdline01.stp: Ditto.
* testsuite/parseok/cmdline02.stp: Ditto.
|
|
|
|
| |
* testsuite/semok/twentyone.stp: New file.
|