| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* tapsets.cxx (emit_address): Emit calls to _stp_module_relocate
for $target-variable addresses in relocatable sections.
|
|
|
|
| |
"inspiration."
|
| |
|
|
|
|
|
|
|
| |
* systemtap.samples/tcptest.exp: Put TCP load gen into a
a seperate script.
* systemtap.samples/tcptest.tcl: new script for TCP load
gen.
|
|
|
|
| |
* symbols.c (_stp_do_module): Fix error message.
|
| |
|
|
|
|
|
| |
* io.c (_stp_vlog, _stp_dbug): Make first parameter const.
* runtime.h: Update prototype for _stp_dbug.
|
|
|
|
|
|
| |
* main.cxx (main): Added '-r' check. If the user changes the
kernel release to compile against, make sure pass 5 isn't
performed (since the resulting module won't be installable).
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: Install tapset/README too.
* Makefile.in: Regenerated.
2006-11-02 Frank Ch. Eigler <fche@elastic.org>
* README: Add a blurb against running these scripts directly.
|
| |
|
|
|
|
|
|
|
| |
* tapsets.cxx (timer_derived_probe_group::emit_interval): New -
Fixes randomization for jiffies timers in ms mode.
(timer_derived_probe_group::emit_module_decls): Use emit_interval.
(timer_derived_probe_group::emit_module_init): Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* translate.cxx (delete_statement_operand_visitor::visit_symbol):
Added referent assert.
(delete_statement_operand_tmp_visitor::visit_arrayindex): Ditto.
(c_tmpcounter::visit_array_in): Ditto.
(c_unparser::visit_symbol): Ditto.
(c_unparser_assignment::visit_symbol): Ditto.
(c_unparser::load_map_indices): Ditto.
(c_tmpcounter::visit_arrayindex): Ditto.
(c_tmpcounter_assignment::visit_arrayindex): Ditto.
(c_tmpcounter::visit_functioncall): Ditto.
(c_unparser::visit_functioncall): Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Probe registration rework. Offline dwarf processing for better
cross-instrumentation.
* elaborate.h (derived_probe): Remove registration-related code
generation API. Add new function sole_location().
(derived_probe_group): Reworked this and associated classes.
* session.h (systemntap_session): Create individual per-category
derived_probe_groups.
* elaborate.cxx (derived_probe_group): Reworked.
(alias_derived_probe): Switch to new derived_probe API.
(semantic_pass_symbols): Ditto.
* translate.cxx (mapvar init): Check for array initialization error.
(emit_module_init): Handle such failures, at least in theory.
(emit_module_exit): Switch to new derived_probe_group API. Call
cpu_relax() during shutdown busywait.
(emit_common_header): Elide context variables for elided handler fns.
(c_unparser::emit_probe): Implement new, improved duplicate
elimination technique for probe handlers. Leave two older ones
behind as compile options for education.
* tapsets.cxx (*): Reworked all probe registration code, moving
it from derived_probes into derived_probe_groups. Shrunk output
code. Temporarily disabled probe timing and perfmon/mark probes.
(dwflpp): Use offline reporting, so that module matching and
relocation is performed at run time.
(dwarf_query): Remove flavour logic, now supplanted by other
duplicate elimination code.
(dwarf_derived_probe): Reworked construction, centralized
module/section/offset computations.
* tapsets.h (all_session_groups): New little helper.
* main.cxx (main): For pass-2 message, print number of embeds too.
* systemtap.spec.in: Add a "BuildRequires: dejagnu" for make check.
* configure.ac: Bump version to 0.5.11.
* configure: Regenerated.
|
|
|
|
| |
modify tapsets/LKET/register_events to change the event_desc strings
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* stap.1.in: Added notes about new caching feature.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* context.stp: Added proper handling of statement
* probe in probefunc() for IA64 (bz# 3423)
|
|
|
|
|
| |
* runtime/regs.c: patch from Bibo Mao for fixing the return
value on IA64 (bz #3404).
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* tapsets.cxx (build_blacklist): Added
"atomic_notifier_call_chain" to the blacklist (Bugzilla #3379).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* main.cxx (printscript): New function containing code moved from
main().
(main): Added code to create cache directory, call function to
generate hash, and see if we can use cached source/module. If
pass 4 is actually run to produce a new module, we call
add_to_cache() to cache the result.
* session.h (struct systemtap_session): Added hash/cache session
data.
* cache.cxx: New file handling adding/getting files from the
cache.
* cache.h: New header file for cache.cxx.
* hash.cxx: New file containing C++ wrapper for routines in
mdfour.c and the find_hash function which computes the hash file
name for an input script.
* hash.h: New header file for hash.cxx.
* mdfour.c: New file containing MD4 hash code.
* mdfour.h: New header file for mdfour.c.
* util.cxx: New file containing several utility functions used by
the caching code.
* util.h: New header file for util.cxx.
* Makefile.am: Added new C/C++ files.
* Makefile.in: Regenerated.
|
|
|
|
|
| |
* lib/stap_run.exp: Handles cached module.
* lib/stap_run2.exp: Ditto.
|
|
|
|
| |
* test.exp (test_procedure): Handles cached module.
|
| |
|
|
|
|
| |
user registered events
|
|
|
|
|
|
| |
Document signal trace hooks into lket man page
bugfix of lket-b2a for event description data insert
|
|
|
|
|
| |
* systemtap.samples/tcptest.exp: fix bug #3404
* systemtap.samples/tcptest.stp: fix bug #3404
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
PR 2727
* configure.ac (elfutils build): Pass --prefix and --exec-prefix
options to elfutils configure.
(elfutils_abs_srcdir): New substituted variable.
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable.
* configure, config.in, Makefile.in: Regenerated.
|
|
|
|
| |
* systemtap.syscall/.cvsignore: Added file.
|
| |
|
|
|
|
|
|
| |
header files
* runtime/lket/b2a/Makefile.am: set compile flags according to the existance of mysql_config
|
|
|
|
|
|
|
| |
check whether rq_disk is empty
tapset/scheduler.stp
revert changes
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
add more variables
* tapset/LKET/register_event.stp:
be sync with scsi trace hooks
* tapset/LKET/scsi.stp:
avoid reference to struct members in
embedded c. Use stap variables as more as possible.
break scsi_info into four variables.
delete cmd_pid from all logging functions
|
|
|
|
| |
skip __switch_to on x86_64
|
|
|
|
| |
* stack-ppc64.c (__stp_stack_sprint): Declare sp before _sp.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* context.stp (print_backtrace): Pass in new
kretprobe instance arg.
(backtrace): Ditto.
(is_return): Rewrite.
(stack_size): New.
(stack_used): New.
(stack_unused): New.
(called_addr): New.
(caller): New.
|
|
|
|
|
|
|
|
|
|
|
| |
* translate.cxx (emit_common_header): Add a
kretprobe_instance pointer to struct context.
(emit_symbol_data): Include absolute symbols.
* tapsets.cxx (emit_common_header): Initialize
the kprobe instance pointer to 0;
(emit_probe_entries): Set kretprobe instance
pointer if appropriate.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* stack.c: Reorganize and split arch-specific functions to
separate files.
(_stp_kta): Better checking.
(_stp_stack_sprint): Better handling of return probes.
* stack-i386.c: New file. Uses 2.6.18 DWARF unwinder if available.
* stack-x86_64.c: New file. Uses 2.6.18 DWARF unwinder if available.
* stack-ppc64.c: New file.
* stack-ia64.c: New file.
* sym.c (_stp_kallsyms_lookup_name): New function. Like
kallsyms_lookup_name() except use our internal lookup table.
|