| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* systemtap.pass1-4/buildok.exp: Remove most kfail designations.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
runtime/
* loc2c-runtime.h (kread, kwrite): Tweaks to work better with
reading and writing pointer values.
testsuite/
* systemtap.base/deref.stp: Rewrite test, and now also check the ability
to read/write pointers.
|
|
|
|
|
|
|
| |
* config/unix.exp: New file as a master load_lib repository.
* */*.exp: Removed load_lib calls.
* parseko/cmdline01.stp: Swallow expected stap ERROR: message.
* systemtap.syscall/syscall.exp: Added installmode_p checks.
|
|
|
|
|
| |
* systemtap.maps/exists.stp: New test to see if
array elements exist using the "in" keyword.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3079
runtime/
* loc2c-runtime.h (kread, kwrite): New macros to safely read/write
values from kernel pointers. This includes a workaround for 64-bit
numbers on i386 platforms.
testsuite/
* systemtap.base/deref.stp: Use the new kread macro that should work
fine with 64-bit numbers on i386 platforms. Also expand the test to
include writes with kwrite.
* systemtap.base/deref.exp: Remove the setup_kfail.
|
|
|
|
| |
* test.exp: Renamed to syscall.exp.
|
|
|
|
| |
without checking kernel version to support audit code backports
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* systemtap.maps/foreach_foreach.exp: Update for new delete func.
* systemtap.maps/ii.exp: Ditto.
* systemtap.maps/ii.stp: Ditto.
* systemtap.maps/iiiiii.exp: Ditto.
* systemtap.maps/iiiiii.stp: Ditto.
* systemtap.maps/is.stp: Ditto.
* systemtap.maps/si.exp: Ditto.
* systemtap.maps/si.stp: Ditto.
* systemtap.maps/ss.stp: Ditto.
|
|
|
|
|
| |
* test.exp, test.tcl, test-debug.tcl: PR 3524.
Support for separtet source and obj trees.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3523.
* tapsets.cxx (common_probe_entryfn_prologue,epilogue): Restore
support for -t (benchmarking) mode.
* translate.cxx (emit_common_header,emit_module_init):Ditto.
(emit_module_exit,emit_probe): Ditto, with most meat here.
2006-12-29 Frank Ch. Eigler <fche@redhat.com>
PR 3523.
* buildok/fourteen.stp, fourteen-plus.stp: Tweak & add a test.
* systemtap.base/bench.stp: Work around randomized-ordered probes.
* systemtap.base/bench.exp: Tighten output requirements.
|
|
|
|
|
|
|
|
|
|
| |
* stap.1.in: Document how to specify the size of global arrays.
testsuite/
* buildok/array_size.stp, parseko/array01.stp, parseko/array02.stp,
parseko/array03.stp, parseko/array04.stp, transko/array01.stp,
systemtap.base/array_size.exp, systemtap.base/array_size.stp:
Tests for specifying the size of global arrays.
|
|
|
|
|
|
| |
* systemtap.base/cache.exp: Added test to ensure that using '-M'
and '-t' changes the hash. The '-t' test is commented out until
PR3523 is fixed.
|
|
|
|
|
| |
* systemtap.base/cache.exp: Added test to ensure that using '-b'
changes the hash.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3522.
* tapsets.cxx (dwflpp::emit_address): Call
_stp_module_relocate only once per session.
Error message cleanup: duplicate elimination etc.
* session.h (saved_errors): Store a set of 'em.
(num_errors): Return set size. Remove old numeric field.
Update all callers.
* elaborate.cxx (systemtap_session::print_errors):
Print each encountered message just once.
* staptree (semantic_error): Make msg2 writeable.
Add a chain field.
* tapsets.cxx (*var_expanding*:visit_target_symbol): Set saved
semantic_error's chain field.
* elaborate.cxx (register_library_aliases, visit_foreach_loop,
visit_functioncall, derive_probes): Plop "while: ..." error
message prefix/suffix right into the semantic_error message string.
* parse.cxx (lexer::scan): Identify erroneous token better
in error message for unresolvable $N/@M command line args.
* util.h (lex_cast_hex): Use std::hex, not std::ios::hex.
2006-12-19 Frank Ch. Eigler <fche@redhat.com>
PR 3522.
* buildok/twentyfive.stp: New test for static $var access.
|
|
|
|
|
|
| |
* systemtap.base/deref.exp, systemtap.base/deref.exp: Add a test for
successfully dereferencing pointers of various sizes. This is known to
fail on x86 for 64-bit values -- PR 3079.
|
|
|
|
|
| |
* systemtap.samples/pfaults.stp: Since PR 1132 has been fixed,
updated to use "$return".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3681.
* staptree.h (struct vardecl): Add a literal 'init' member for the
initialization value of globals.
* staptree.cxx (vardecl::vardecl): Initialize 'init' to NULL.
(vardecl::print): Print global init value during pass-1 output.
* main.cxx (printscript): Print global init values during verbose
pass-2 output.
* parse.cxx (parser::parse_global): Set the initialization literal of
global vardecls.
* translate.cxx (var::init): Don't unconditionally override the value
of numeric globals when the module_param isn't used.
(c_unparser::emit_global_param): Write numeric module_params directly
into the global variable, as an int64_t instead of long.
(c_unparser::emit_global): Add initialization to global declarations.
Don't create a temp module_param long for numeric globals anymore.
runtime/
* runtime.h (param_set_int64_t, param_get_int64_t,
param_check_int64_t): New functions to allow taking module parameters
directly as int64_t values.
testsuite/
* systemtap.base/global_init.exp, systemtap.base/global_init.stp: New
test for checking the timeliness of global initialization.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3624.
* tapsets.cxx (struct be_derived_probe): Add a new priority parameter
for begin/end probes, and a comparison function for sorting.
(be_builder::build): Parse the priority & pass it to be_derived_probe.
(be_derived_probe_group::emit_module_init, emit_module_exit): Sort the
probe list by priority before emitting any code.
(register_standard_tapsets): Add new begin/end variants.
* parse.cxx (parser::parse_literal): Allow negative numeric literals,
by checking for a '-' unary operator right before a number.
testsuite/
* systemtap.base/be_order.exp, systemtap.base/be_order.stp,
semok/beginend.stp: New tests for begin/end priorities.
* lib/stap_run.exp: Anchor OUTPUT_CHECK_STRING to the end of output.
* systemtap.base/maxactive.exp: Fix to compare output to the end.
* systemtap.base/probefunc.exp: Ditto.
* systemtap.samples/ioblocktest.exp: Ditto.
* systemtap.samples/ioblocktest.stp: Ditto.
* systemtap.samples/tcptest.exp: Ditto.
|
|
|
|
|
| |
* systemtap.samples/pfaults.exp: Fix regular expression
to handle buffering issues that broke on MP systems.
|
|
|
|
| |
new testcase of whitelist for safe probes
|
|
|
|
|
|
|
| |
* semko/thirtyfour.stp: Checks for writing to target variable in
.return probe.
* semok/twentyfour.stp: Tests read access to target variable in
.return probe.
|
| |
|
|
|
|
|
| |
change the return codes of lket-b2a and add a new macro b2a_error() for error
reporting
|
|
|
|
|
| |
* main.cxx (main): Signal parse error if a tapset script
is given as the user script.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tapsets.cxx (d_v_e_c_v::visit_target_symbol): Restore lost
exception-saving functionality that improves error messages
for incorrect $target expressions.
(translate_components): Systematize error messages somewhat.
* translate.cxx (emit_function, emit_probe): Clarify
"array locals" error message.
2006-11-17 Frank Ch. Eigler <fche@redhat.com>
* semko/thirtysix.stp, transko/three.stp: New tests.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* semko/maxactive03.stp: Stop on pass2 instead of on pass1.
* lib/stap_run.exp: As a side-effect, stap_run() sets global
'probe_errors' and 'skipped_probes' to the number of probe errors
and skipped probes seen while running the probe.
* systemtap.base/maxactive.exp: Uses extended stap_run() to find
number of skipped probes instead of using private stap_run()
variant.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* buildok/maxactive01.stp: Added test for "maxactive(N)"
return probe processing.
* parseko/maxactive01.stp: Ditto.
* parseko/maxactive02.stp: Ditto.
* parseko/maxactive03.stp: Ditto.
* parseko/maxactive04.stp: Ditto.
* semko/maxactive01.stp: Ditto.
* semko/maxactive02.stp: Ditto.
* semko/maxactive03.stp: Ditto.
* systemtap.base/maxactive.exp: Ditto.
|
|
|
|
|
|
| |
* systemtap.maps/foreach_limit.exp: Added new test for foreach
"limit" keyword.
* systemtap.maps/foreach_limit.stp: Ditto.
|
|
|
|
|
|
|
|
|
| |
* parseko/foreachstmt06.stp: Added new test for foreach "limit"
keyword.
* parseko/foreachstmt07.stp: Ditto.
* parseok/foreachstmt01.stp: Ditto.
* semko/foreachstmt01.stp: Ditto.
* semko/foreachstmt02.stp: Ditto.
|
|
|
|
|
|
|
| |
* 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
|