summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* New example that uses a shell script to process command line options for a ↵mmason2007-01-293-0/+389
| | | | systemtap script.
* 2007-01-29 Frank Ch. Eigler <fche@elastic.org>fche2007-01-296-12/+43
| | | | | | | | | * main.cxx (main): For successful last_pass=4, print compiled module name. * cache.cxx (get_from_cache): Ditto. 2007-01-29 Frank Ch. Eigler <fche@elastic.org> * systemtap.base/cache.exp (stap_compile): Accept new -p4 output.
* 2007-01-26 Josh Stone <joshua.i.stone@intel.com>jistone2007-01-272-2/+5
| | | | * vfs.stp (ppos_pos): Change deref() to kread() so i686 passes.
* .roland2007-01-261-30/+34
|
* 2007-01-25 Roland McGrath <roland@redhat.com>roland2007-01-261-1/+1
| | | | * loc2c-runtime.h (store_deref): Use "Zr" constraint for 64-bit case.
* __is_idle should be pure.jistone2007-01-251-1/+1
|
* Fix for missing SOCK_PASSSEC in kernels earlier than 2.6.18.mmason2007-01-252-1/+9
|
* 2007-01-25 Martin Hunt <hunt@localhost.localdomain>hunt2007-01-252-1/+16
| | | | * syscalls2.stp: Add sys32_ustat probe.
* * systemtap.syscall/syscall.exp: Increase timeout for slow machines.wcohen2007-01-242-0/+5
|
* add helpful blurbfche2007-01-241-0/+2
|
* Forgot to include ChangeLog in last commit.mmason2007-01-241-0/+9
|
* Added stapprobes.socket(5) man page and updates to stapprobes(5) and ↵mmason2007-01-248-6/+491
| | | | stapfuncs(5).
* Changed bit checking method in sock_flags_num2str().mmason2007-01-242-8/+17
|
* 2007-01-23 Frank Ch. Eigler <fche@elastic.org>fche2007-01-232-1/+7
| | | | * tapsets.cxx (loc2c_error): Correct vasprintf ignored-rc warning.
* 2007-01-23 Frank Ch. Eigler <fche@elastic.org>fche2007-01-232-5/+6
| | | | * systemtap.pass1-4/buildok.exp: Remove most kfail designations.
* Added build test for sockets tapset.mmason2007-01-232-0/+111
|
* New sockets tapset.mmason2007-01-232-0/+1081
|
* Added new string functions tokenize() and strtol().mmason2007-01-237-0/+158
|