| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* stack.c, string.c, sym.c, transport/symbols.c:
Fix some signed vs unsigned comparison warnings.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* staprun.h (VERSION_CMD): Command to use for version check.
Changes to support runtime decision on new or old transport.
* mainloop.c (init_staprun): Check the kernel version at runtime
instead of at compile time.
(cleanup_and_exit): Call the correct relayfs close function.
(stp_main_loop): Call the correct relayfs init function.
* relay.c: Remove ifdef wrapper. File is always compiled and used
if the kernel version is appropriate.
* relay_old.c: Ditto.
|
|
|
|
|
| |
* configure.ac: Tweak missing elfutils error message.
* configure: Regenerated.
|
|
|
|
| |
* systemtap.base/overload.exp: New test.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3545.
* tapsets.cxx (common_probe_entryfn_prologue): Added
'overload_processing' parameter, which defaults to true. If
overload_processing is set to false, doesn't output the
STP_OVERLOAD code.
(common_probe_entryfn_epilogue): Ditto.
(be_derived_probe_group::emit_module_decl): Set
overload_processing to false in calls to
common_probe_entryfn_prologue and common_probe_entryfn_epilogue
since begin/end probes shouldn't overload the system.
* translate.cxx (c_unparser::emit_common_header): Emit
STP_OVERLOAD global variables.
(translate_pass): Emit STP_OVERLOAD defines.
|
|
|
|
| |
* .cvsignore: Added "config.log" and "config.status".
|
|
|
|
|
|
|
| |
* main.cxx (usage): Remove "-M" and edit description
of "-b".
* stap.1.in: Remove "-M" option and edit description of "-b".
Edit description of "-o".
|
|
|
|
| |
* stap.1.in: Remove "-M" option and edit description of "-b".
|
|
|
|
|
| |
* stpd: Remove directory.
* relayfs: Remove directory.
|
|
|
|
|
| |
* Makefile.am: Don't install old relayfs sources.
* makefile.in: Rebuilt.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am (staprun_SOURCES): Sources now live in
runtime/staprun.
* makefile.in: Rebuilt.
* staprun.8.in: Updated.
* buildrun.cxx (run_pass): Use "-v" instead of not "-q" to
be compatible with latest staprun.
* translate.cxx (emit_module_exit): Print warning using
_stp_printf so it shows up at the end of all output.
(translate_pass): Replace STP_RELAYFS with STP_BULKMODE.
Eliminate STP_RELAYFS_MERGE.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bench2/bench.rb: Updated to work with new transport
and new itest.c.
* bench2/Makefile: Updated for new itest.c
* bench2/itest.c: Rewritten to use multiple threads
and automatically divide the workload among the threads.
* print.c (_stp_print_flush): Move to print_new.c and
print_old.c.
* print_new.c: New file containing _stp_print_flush()
for the new transport.
* print_old.c: Ditto for old transport.
* runtime.h (STP_OLD_TRANSPORT): Define
(errk): Define.
(MAXSTRINGLEN): Define if not already defined.
* io.c (_stp_vlog): Use _stp_ctl_write().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* transport_msgs.h: ifdef old messages as such.
Add support for new transport.
* relayfs.c: Simplify and add new interface to look
like utt.
* utt.[ch]: New files. Similar to the proposed utt interface.
These setup and teardown relayfs on debugfs.
* control.c: New file. Implements a simple control channel.
A small subset of procfs.c.
* procfs.c: This is now only used for old kernels lacking newer
relayfs. Change STP_RELAYFS to STP_BULKMODE. Use new
messages from transport_msgs.h. Don't support
RELAYFS_CHANNEL_VERSION >= 4. CHanges all control channel functions
to new names. Use pids instead of module names in /proc names.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* staprun.c: Renamed from stpd.c. Removed quiet and print_only
options. Added "-x" option as an alias for "-t". Removed "-m"
option. Updated arg processing to leave 4 slots for modoptions[].
Bump the priority of staprun.
* ctl.c: New. Transport control channel functions.
* relay.c: New. Relayfs control functions for new transport.
* relay_old.c: New. Relayfs control functions for older
versions of relayfs.
* mainloop.c: New. Staprun main loop.
* staprun.h: Renamed from librelay.h. Cleaned up.
* stap_merge.c: Renamed. Updated for modified save format.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 4171.
* Makefile.am (check, installcheck): Pass build-tree pointers
in environment variables.
* configure.ac: Run separate configury for testsuite/.
* configure, Makefile.in: Regenerated.
2007-03-14 Frank Ch. Eigler <fche@redhat.com>
PR 4171.
* configure.ac, configure, aclocal.m4: New files to permit
testsuite-only build tree.
* Makefile.am (RUNTEST): Arrange a crazy concoction of
environment/make variable for runtest.
* Makefile.in: Regenerated.
* */*.stp: Switch test cases from "./stap" to "stap" throughout.
* lib/systemtap.exp: Assume/trace environment variables.
(stap_run_batch): Add "#! stap"-handling hack.
|
|
|
|
|
|
|
|
|
|
|
| |
* systemtap.base/div0.stp: Fix so output
won't possibly have the error message before the printed
output.
* systemtap.base/maxactive.exp: Ditto.
* systemtap.maps/ix_clear.stp: Ditto.
* systemtap.maps/ix_clear2.stp: Ditto.
* systemtap.samples/args.exp: Remove obsolete "-r" option
to staprun.
|
|
|
|
|
|
|
|
|
|
| |
* librelay.c (init_stp): Use /proc/MODULE rather than
/proc/systemtap/MODULE.
2007-03-12 Frank Ch. Eigler <fche@elastic.org>
* procfs.c (_stp_register_procfs): Use /proc/MODULE rather than
/proc/systemtap/MODULE.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 4179.
Based on patch from Vasily Averin <vvs@sw.ru>:
* time.c (_stp_init_time): Recover from partial failures.
2007-03-12 Frank Ch. Eigler <fche@redhat.com>
PR 4179.
Based on patch from Vasily Averin <vvs@sw.ru>:
* procfs.c (_stp_register_procfs): Recover from partial failures.
* transport.c (_stp_transport_open): Ditto.
|
| |
|
|
|
|
|
|
| |
PR 4116.
* buildok/twentyseven.stp: New test.
* systemtap.pass1-4/buildok.exp: kfail it.
|
|
|
|
|
|
| |
PR 4166.
* tapsets.cxx (translate_components): Throw an exception rather
then suffer an assertion failure for $ptr[index] expressions.
|
|
|
|
|
|
| |
* systemtap.base/alternatives.exp: Changed the probed kernel
function from 'signal_wake_up' (which wasn't present on some
kernels) to 'sys_getrlimit'.
|
|
|
|
|
| |
* systemtap.spec.in: Made example perl script non-executable so
that the systemtap rpm won't require perl.
|
|
|
|
|
| |
* stap.1.in, stapex.5.in, staprun.8.in: Tweak text to remove
authors credits, update examples and pointers.
|
|
|
|
|
| |
PR 4121
* systemtap.stress/conversions.exp: Fix & improve below patch.
|
|
|
|
|
| |
PR 4121
* systemtap.stress/conversions.exp: Bypass address=0 test for s390x.
|
|
|
|
| |
byte writes.
|
| |
|
|
|
|
|
| |
* systemtap.spec.in: Fixed %{_libexecdir}/systemtap path in
systemtap-runtime %files section.
|
|
|
|
|
|
| |
* systemtap.spec.in (/var/cache/systemtap): Forget it.
(stp_check): Pack this in with systemtap-runtime.
* stp_check.in: Add LANG=C for speed.
|
|
|
|
|
|
|
|
|
|
|
| |
* staprun.8.in: Added a basic staprun man page.
* Makefile.am: Added staprun.8.
* Makefile.in: Regenerated.
* configure.ac: Added staprun.8.
* configure: Regenerated.
* systemtap.spec.in: Added staprun.8 and other document files to
staprun RPM.
* .cvsignore: Ignores staprun.8.
|
| |
|
| |
|
|
|
|
|
|
| |
* tapsets.cxx (dwflpp setup): Print "missing kernel debuginfo"
message consistently for, er, missing kernel debuginfo.
(query_kernel_exists): Zapped.
|
|
|
|
| |
s390 kernels that do not already have it defined.
|
|
|
|
|
|
| |
PR 4105
* buildok/twentysix.stp: New test.
* systemtap.pass1-4/buildok.exp: kfail it.
|
|
|
|
|
|
|
| |
* systemtap.spec.in: Fedora Packaging Guidelines updates. Updated
BuildRoot macro value to Fedora Extras standard value. No longer
uses %makeinstall macro. The rpm now owns the
/usr/libexec/systemtap directory.
|
|
|
|
|
|
|
| |
* Makefile.am: Removed 'update-examples' target. Moved
functionality to systemtap.spec.in.
* Makefile.in: Regenerated from Makefile.am.
* systemtap.spec.in: Fixes paths in the example scripts directly.
|
|
|
|
|
|
|
|
| |
* Makefile.am: Added 'update-examples' target that fixes paths in
the example code we ship in the rpm.
* Makefile.in: Regenerated from Makefile.am.
* systemtap.spec.in: Calls "make update-examples" target to fix
the path to systemtap in the example scripts.
|
|
|
|
| |
macro eliminating the need for both a s390 and s390x version of these functions. This alos fixed an aligment problem building the the exception table.
|
| |
|
|
|
|
|
|
|
|
| |
* elaborate.h (match_node, derived_probe_builder): Add
build_no_more member function.
* elaborate.cxx (semantic_pass_symbols): Call it.
* tapsets.cxx (dwarf_builder): Implement it by releasing dwflpp
instance after pass 2, freeing mucho memory.
|
|
|
|
|
|
|
|
| |
PR 4096
* tapsets.cxx (hrtimer_derived_probe_group::emit_module_decls):
Adapt the function signature for changes in 2.6.21.
(hrtimer_derived_probe_group::emit_module_init): Fix the enum name
for 2.6.21 as well.
|
| |
|
|
|
|
| |
syscall.mmap2.return.
|
|
|
|
|
|
|
|
| |
PR 4081
* Makefile.am: The symbolic link that the Makefile creates to stap
now points to the installed version of stap when "make
installcheck" is run.
* Makefile.in: Regenerated.
|
| |
|
|
|
|
|
|
|
|
|
| |
PR 4078 and more, including patch from
Eugeniy Meshcheryakov <eugen@debian.org>:
* Makefile.am (AM_CXXFLAGS, AM_CFLAGS): Add -Wextra -Wall -Werror
consistently.
* Makefile.in: Regenerated.
(*): Many minor warning fixes.
|