summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2007-03-07 Frank Ch. Eigler <fche@elastic.org>fche2007-03-072-2/+9
| | | | | | PR 4166. * tapsets.cxx (translate_components): Throw an exception rather then suffer an assertion failure for $ptr[index] expressions.
* 2007-03-06 David Smith <dsmith@redhat.com>dsmith2007-03-062-2/+8
| | | | | | * systemtap.base/alternatives.exp: Changed the probed kernel function from 'signal_wake_up' (which wasn't present on some kernels) to 'sys_getrlimit'.
* 2007-03-05 David Smith <dsmith@redhat.com>dsmith2007-03-052-0/+8
| | | | | * systemtap.spec.in: Made example perl script non-executable so that the systemtap rpm won't require perl.
* 2007-03-04 Frank Ch. Eigler <fche@redhat.com>fche2007-03-044-65/+17
| | | | | * stap.1.in, stapex.5.in, staprun.8.in: Tweak text to remove authors credits, update examples and pointers.
* 2007-03-02 Frank Ch. Eigler <fche@elastic.org>fche2007-03-022-1/+6
| | | | | PR 4121 * systemtap.stress/conversions.exp: Fix & improve below patch.
* 2007-03-01 Frank Ch. Eigler <fche@redhat.com>fche2007-03-022-0/+7
| | | | | PR 4121 * systemtap.stress/conversions.exp: Bypass address=0 test for s390x.
* Rewrote s390x version of __stp_put_asm and __stp_put_asm to do singledwilder2007-03-012-34/+21
| | | | byte writes.
* (kernel_int) added goto success; (PR 4419)dwilder2007-03-012-0/+5
|
* 2007-02-28 David Smith <dsmith@redhat.com>dsmith2007-02-282-1/+6
| | | | | * systemtap.spec.in: Fixed %{_libexecdir}/systemtap path in systemtap-runtime %files section.
* 2007-02-27 Frank Ch. Eigler <fche@elastic.org>fche2007-02-273-6/+11
| | | | | | * systemtap.spec.in (/var/cache/systemtap): Forget it. (stp_check): Pack this in with systemtap-runtime. * stp_check.in: Add LANG=C for speed.
* 2007-02-27 David Smith <dsmith@redhat.com>dsmith2007-02-278-21/+234
| | | | | | | | | | | * 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.
* * add sudo as a dependency for systemtap (not -runtime)fche2007-02-271-0/+1
|
* nonefche2007-02-271-0/+1
|
* 2007-02-27 Frank Ch. Eigler <fche@elastic.org>fche2007-02-272-22/+7
| | | | | | * tapsets.cxx (dwflpp setup): Print "missing kernel debuginfo" message consistently for, er, missing kernel debuginfo. (query_kernel_exists): Zapped.
* loc2c-runtime.h: Added defines for EX_TABLE needed by olderdwilder2007-02-272-0/+24
| | | | s390 kernels that do not already have it defined.
* 2007-02-27 Frank Ch. Eigler <fche@redhat.com>fche2007-02-273-0/+14
| | | | | | PR 4105 * buildok/twentysix.stp: New test. * systemtap.pass1-4/buildok.exp: kfail it.
* 2007-02-27 David Smith <dsmith@redhat.com>dsmith2007-02-272-3/+10
| | | | | | | * 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.
* 2007-02-26 David Smith <dsmith@redhat.com>dsmith2007-02-264-7/+11
| | | | | | | * 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.
* 2007-02-26 David Smith <dsmith@redhat.com>dsmith2007-02-264-0/+15
| | | | | | | | * 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.
* Changed the s390 versions of __stp_put_asm __stp_get_asm to use EX_TABLE ↵dwilder2007-02-261-56/+2
| | | | 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.
* * printf format warning fixfche2007-02-251-1/+1
|
* 2007-02-25 Frank Ch. Eigler <fche@redhat.com>fche2007-02-254-4/+40
| | | | | | | | * 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.
* 2007-02-23 Josh Stone <joshua.i.stone@intel.com>jistone2007-02-232-3/+24
| | | | | | | | 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.
* more warning elisionfche2007-02-231-11/+4
|
* Created an s390x version of syscall.mmap, syscall.mmap2, syscall.mmap.return,dwilder2007-02-223-0/+177
| | | | syscall.mmap2.return.
* 2007-02-19 David Smith <dsmith@redhat.com>dsmith2007-02-203-4/+15
| | | | | | | | 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.
* excise memories of /usr/localfche2007-02-191-1/+1
|
* 2007-02-19 Frank Ch. Eigler <fche@elastic.org>fche2007-02-1911-70/+88
| | | | | | | | | 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.
* mention printkfche2007-02-181-0/+6
|
* 2007-02-17 Frank Ch. Eigler <fche@elastic.org>fche2007-02-172-24/+46
| | | | | | | 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.
* 2007-02-16 David Smith <dsmith@redhat.com>dsmith2007-02-162-0/+50
| | | | * systemtap.base/alternatives.exp: New test case.
* 2007-02-15 David Smith <dsmith@redhat.com>dsmith2007-02-152-2/+102
| | | | | | | | | | | | 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.
* 2007-02-14 Frank Ch. Eigler <fche@elastic.org>fche2007-02-142-0/+11
| | | | | * tapsets.cxx (emit_module_decls): Assert CONFIG_KPROBES, as suggested by Andreas Kostyrka <andreas@kostyrka.org>.
* The s390x version of store_deref was missed named, I fixed it.dwilder2007-02-121-1/+1
|
* 2007-02-12 Frank Ch. Eigler <fche@elastic.org>fche2007-02-122-1/+6
| | | | * tapsets.cxx (query_statement): Tolerate null file name string.
* 2007-02-09 Frank Ch. Eigler <fche@elastic.org>fche2007-02-092-11/+15
| | | | * conversions.stp (*): Make errmsg usage uniform.
* * d'oh - disable tests unless [installtest_p]fche2007-02-091-16/+21
|
* * fixed -P doc typofche2007-02-091-5/+5
| | | | * added atomic issues to %{ %} docs
* 2007-02-09 Frank Ch. Eigler <fche@elastic.org>fche2007-02-0913-19/+110
| | | | | | | | | | | | | | | | 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.
* 2007-02-07 Martin Hunt <hunt@redhat.com>hunt2007-02-073-1/+10
| | | | | | | * stack-ppc64.c (__stp_stack_print): Remove an old reference to the string length and instead limit backtraces to MAXBACKTRACE. * stack.c: Define MAXBACKTRACE
* 2007-02-06 Josh Stone <joshua.i.stone@intel.com>jistone2007-02-0727-804/+691
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* add a #!jistone2007-02-071-1/+3
|
* 2007-02-06 Josh Stone <joshua.i.stone@intel.com>jistone2007-02-064-10/+50
| | | | | | | | runtime/ * loc2c-runtime.h (kread): Let it work with const types. testsuite/ * systemtap.base/deref.stp: Test kread with const sources.
* * kernel_{string,long,...,char} protected accessor functionsfche2007-02-068-8/+146
| | | | | | | | | | | | | | | | | | | | * 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.
* * removing old reminderfche2007-02-041-2/+1
|
* wordwrapfche2007-01-311-2/+4
|
* 2007-01-31 Martin Hunt <hunt@redhat.com>hunt2007-01-312-11/+7
| | | | | * translate.cxx (translate_pass): Remove old string impedance mismatch stuff. Modify included files.
* 2007-01-31 Martin Hunt <hunt@redhat.com>hunt2007-01-312-14/+17
| | | | | | | | * 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.
* 2007-01-31 Martin Hunt <hunt@redhat.com>hunt2007-01-3121-825/+590
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* delete statement updatefche2007-01-311-0/+5
|