summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* 2007-01-30 Martin Hunt <hunt@redhat.com>hunt2007-01-302-8/+12
| | | | * symbols.c: Comment out many debug lines.
* 2007-01-30 Martin Hunt <hunt@redhat.com>hunt2007-01-304-15/+37
| | | | | | | | | | | * io.c (_stp_vlog): Use dynamic percpu allocations instead of very wasteful static allocations. * print.c (_stp_print_init): Do percpu allocations for io.c. (_stp_print_cleanup): Free percpu allocations. * string.c (_stp_sprintf): Overflow check needed to be >= instead of >.
* 2007-01-30 Martin Hunt <hunt@redhat.com>hunt2007-01-304-69/+18
| | | | | | | | | | | * alloc.c (_stp_alloc_percpu): Don't implement our own; just call __alloc_percpu with appropriate args for the OS version. (_stp_free_percpu): Delete. * map.c (_stp_map_init): When calling kmalloc_node, first call cpu_to_node() to get the proper node number. * stat.c (_stp_stat_del): Call free_percpu() instead of _stp_free_percpu().
* 2007-01-30 Frank Ch. Eigler <fche@elastic.org>fche2007-01-302-1/+11
| | | | * socket-trace.stp: Added from the tutorial.
* 2007-01-29 Frank Ch. Eigler <fche@elastic.org>fche2007-01-293-11/+15
| | | | * configure.ac, configure: Bumped version to 0.5.13 for development.
* 2007-01-29 Frank Ch. Eigler <fche@elastic.org>fche2007-01-292-5/+9
| | | | * translate.cxx (emit_module_init): Add some more type casts to printk args.
* nonefche2007-01-291-1/+2
|
* 2007-01-29 Martin Hunt <hunt@redhat.com>hunt2007-01-292-16/+24
| | | | | * translate.cxx (emit_module_init): BZ3888. Add memory usage for the runtime to the printk.
* 2007-01-29 Martin Hunt <hunt@redhat.com>hunt2007-01-294-7/+15
| | | | | | * procfs.c: Count allocated IO memory. * symbols.c: Use _stp_kmalloc() and _stp_kzalloc(). * transport.c: Count allocated IO memory.
* 2007-01-29 Martin Hunt <hunt@redhat.com>hunt2007-01-296-9/+63
| | | | | | | | | | * alloc.c (_stp_kmalloc): New function. Call kmalloc with the coirrect flags and track usage. (_stp_kzalloc): Ditto. * map.c: Use new alloc calls. * print.c: Ditto. * stat.c: Ditto. * time.c: Ditto.