| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
PR 4066.
* translate.cxx (var::init): Check stat scalar initialization,
just like is done for arrays.
(emit_module_exit): Check unlikely but possible null timing stat.
|
|
|
|
| |
* systemtap.base/alternatives.exp: New test case.
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3625.
* tapsets.cxx (dwflpp::print_locals): New function to print all
the variables/parameters of a function.
(dwflpp::find_variable_and_frame_base): Calls print_locals() when
target variable can't be found.
(dwflpp::print_members): New function to print all the members of
a union/structure.
(dwflpp::translate_components) Calls print_members() when
union/structure member target variable reference can't be found.
|
|
|
|
|
| |
* tapsets.cxx (emit_module_decls): Assert CONFIG_KPROBES,
as suggested by Andreas Kostyrka <andreas@kostyrka.org>.
|
| |
|
|
|
|
| |
* tapsets.cxx (query_statement): Tolerate null file name string.
|
|
|
|
| |
* conversions.stp (*): Make errmsg usage uniform.
|
| |
|
|
|
|
| |
* added atomic issues to %{ %} docs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3965
* configure.ac: Add --enable-prologue option.
* configure, config.in: Regenerated.
* session.h (prologue_searching): New field.
* main.cxx (main): Parse new "-P" option. Initialize based on
autoconf flag.
* stap.1.in, NEWS: Document it.
* hash.cxx (find_hash): Include it in computation.
* tapsets.cxx (query_func_info, query_cu): Respect it.
2007-02-09 Frank Ch. Eigler <fche@elastic.org>
* systemtap.base/prologue.*: New test case.
|
|
|
|
|
|
|
| |
* stack-ppc64.c (__stp_stack_print): Remove an old
reference to the string length and instead limit backtraces
to MAXBACKTRACE.
* stack.c: Define MAXBACKTRACE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* aux_syscalls.stp, inet_sock.stp, ioblock.stp, ioscheduler.stp,
nfs.stp, nfs_proc.stp, nfsd.stp, rpc.stp, scsi.stp, signal.stp,
socket.stp, task.stp, tcp.stp, vfs.stp: Protect pointer dereferences
with kread wherever possible. Some places still have hazards, as
marked with FIXMEs.
* errno.stp (returnstr): Don't use return in tapset C functions.
* aux_syscalls.stp (__uget_timex_m): Ditto.
* nfsd.stp (__get_fh): Ditto.
* nfs.stp, vfs.stp (<many functions>): Ditto.
* string.stp (substr): Ditto. Also make sure start index is valid.
* syscalls.stp (syscall.execve): Change __string to kernel_string.
LKET/
* nfs.stp, nfs_proc.stp, nfsd.stp, process.stp, tskdispatch.stp:
Protect pointer dereferences with kread wherever possible. Some
places still have hazards, as marked with FIXMEs.
* aio.stp (log_io_getevents): Don't use return in tapset C functions.
* timestamp.stp (set_timing_method): Ditto.
* utils.stp (filter_by_pid): Ditto.
|
| |
|
|
|
|
|
|
|
|
| |
runtime/
* loc2c-runtime.h (kread): Let it work with const types.
testsuite/
* systemtap.base/deref.stp: Test kread with const sources.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* test suites for all of 'em too
* even documentation
* mm, donuts
2007-02-06 Frank Ch. Eigler <fche@elastic.org>
* stapfuncs.5.in: Add docs for kernel_{long,int,short,char} and
some user_string* variants.
2007-02-06 Frank Ch. Eigler <fche@elastic.org>
* conversions.stp (kernel_long/int/short/char): New functions.
2007-02-06 Frank Ch. Eigler <fche@elastic.org>
* buildok/conversions.stp: Build-test all conversions.stp functions.
* systemtap.stress/conversions.*: New test.
|
| |
|
| |
|
|
|
|
|
| |
* translate.cxx (translate_pass): Remove old string impedance
mismatch stuff. Modify included files.
|
|
|
|
|
|
|
|
| |
* context.stp (print_backtrace): Modify for new
_stp_stack_print.
(backtrace): Just use _stp_stack_snprint().
(print_stack): Use new _stp_print* functions.
(probefunc): Use _stp_symbol_snprint.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* string.c (_stp_string_init): Deleted.
(_stp_sprintf): Deleted.
(_stp_vsprintf): Deleted.
(_stp_string_cat_cstr): Deleted.
(_stp_string_cat_string): Deleted.
(_stp_string_cat_char): Deleted.
(_stp_string_ptr): Deleted.
(_stp_string_cat): Deleted.
(_stp_snprintf): Moved from vsprintf.c.
(_stp_vscnprintf): Moved from vsprintf.c.
* string.h (STP_STRING_SIZE): Deleted.
(STP_NUM_STRINGS): Deleted.
Remove all references to type "String".
* vsprintf.c (_stp_vscnprintf): Moved to string.c.
(_stp_snprintf): Moved to string.c
* sym.c (_stp_symbol_sprint): Replaced with
_stp_symbol_print, which writes to the print buffer.
(_stp_symbol_sprint_basic): Replaced with
_stp_symbol_snprint.
* runtime.h: Include io.c.
* stat-common.c: Use new _stp_print* functions.
* stat.c: Ditto.
* regs.c: Renamed to regs-ia64.c.
* current.c: Renamed regs.c.
* regs-ia64.c: New file (renamed from regs.c).
* stack.c (_stp_stack_sprint): Renamed _stp_stack_print
and now just prints to the print buffer. Calls
__stp_stack_print instead of __stp_stack_sprint.
(_stp_stack_snprint): New function. Calls _stp_stack_print and
then copies the print buffer into a string.
(_stp_stack_printj): Deleted.
(_stp_ustack_sprint): Deleted.
* stack-*.c: Rewritten to print instead of writing to strings.
Uses new _stp_print* functions.
* print.c (_stp_printf): Create new function instead of macro.
(_stp_print): Ditto.
(_stp_print_char): New function.
* map.c: Use _stp_print() and _stp_print_char()
instead of _stp_print_cstr().
* io.c (_stp_vlog): Use _stp_print() instead
of _stp_string_cat_cstr().
* copy.c (_stp_string_from_user): Deleted.
|
| |
|