| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
bugfix to avoid refer to NULL pointer
* hookid_defs.stp, ioscheduler.stp, register_event.stp:
break the old addevent.ioscheduler.elv_next_request into
addevent.ioscheduler.elv_next_request.entry and
addevent.ioscheduler.elv_next_request.return.
Now log_ioscheduler_tracedata_* will use the
variables defined in generic ioscheduler tapset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tapsets.cxx (in_kprobes_function): New function that looks up
the values of '__kprobes_text_start' and '__kprobes_text_end' in
the kernel to be able to automatically exclude functions marked as
'__kprobes' (BZ# 2639).
(blacklisted_p): Calls in_kprobes_function().
(query_kernel_module): Utility function that finds the kernel module.
* session.h (struct systemtap_session): Added kprobes_text
variables - kprobes_text_initialized, kprobes_text_start, and
kprobes_text_end.
* elaborate.cxx (systemtap_session::systemtap_session):
kprobes_text variables get initialized.
|
|
|
|
| |
make sys_request_key optional on i386
|
| |
|
|
|
|
| |
* systemtap.spec.in (elfutils_version): Require 0.124 now.
|
| |
|
| |
|
|
|
|
| |
clean up the unused database tables and destory GTree on exit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
document signal syscall
hookiddefs.stp:
some changes to the hookid:
Now the hookid of a return type event(addevent.*.return)
should be an even number and its value should be the
corresponding entry event hookid +1.
The hookid of a non-return type event should be an odd
number.
Add the hookid of HOOKID_REGEVTDESC
register_event.stp:
add register_evt_desc() to register the description of an event.
Change the register_sys_event() to add the an argument
representing event description
Allow to use empty format string and empty field name when
calling register_event().
Change all calling to register_sys_event() to add an
argument which represents the event description.
Change register_evt_desc() and register_event() to add an argument
representing the event description string, which could help
facilitate the error debugging.
iosyscall.stp:
bugfix to add the variable GroupID and hookID
nfs.stp:
bugfix to add some omitted probe definitions.
nfs_proc.stp:
bugfix of the wrong calling to _lket_trace() for
nfs_proc.remove.entry.
|
|
|
|
|
|
|
| |
From David Wilder <dwilder@us.ibm.com>
* time.c (__stp_estimate_cpufreq): Short-circuit on s390.
(_stp_gettimeofday_ns): Use a fixed formula on s390 to
convert TOD clocks to nanoseconds.
|
| |
|
|
|
|
| |
* move 'em out
|
|
|
|
|
| |
* context.stp (probefunc): Return empty string for
userspace (< PAGE_OFFSET) pointers.
|
| |
|
|
|
|
| |
Makefile.am: add -DPKGLIBDIR='"$(pkglibexecdir)"' to AM_CPPFLAGS
|
| |
|
|
|
|
|
| |
* buildok/eighteen.stp: Fix for 2.6.18.
* buildok/two.stp: Ditto.
|