summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2006-10-18 David Smith <dsmith@redhat.com>dsmith2006-10-182-0/+7
| | | | * systemtap.syscall/.cvsignore: Added file.
* update man pagesguanglei2006-10-183-93/+48
|
* * configure.ac: add the checking for mysql_config, mysqlclient library and ↵guanglei2006-10-167-30/+603
| | | | | | header files * runtime/lket/b2a/Makefile.am: set compile flags according to the existance of mysql_config
* tapset/scsi.stp:guanglei2006-10-163-7/+13
| | | | | | | check whether rq_disk is empty tapset/scheduler.stp revert changes
* * tapset/scsi.stp:guanglei2006-10-136-266/+208
| | | | | | | | | | | | | add more variables * tapset/LKET/register_event.stp: be sync with scsi trace hooks * tapset/LKET/scsi.stp: avoid reference to struct members in embedded c. Use stap variables as more as possible. break scsi_info into four variables. delete cmd_pid from all logging functions
* scheduler.stp:guanglei2006-10-132-13/+19
| | | | skip __switch_to on x86_64
* 2006-10-12 Martin Hunt <hunt@redhat.com>hunt2006-10-132-1/+5
| | | | * stack-ppc64.c (__stp_stack_sprint): Declare sp before _sp.
* 2006-10-12 Martin Hunt <hunt@redhat.com>hunt2006-10-122-7/+53
| | | | | | | | | | | | * context.stp (print_backtrace): Pass in new kretprobe instance arg. (backtrace): Ditto. (is_return): Rewrite. (stack_size): New. (stack_used): New. (stack_unused): New. (called_addr): New. (caller): New.
* 2006-10-12 Martin Hunt <hunt@redhat.com>hunt2006-10-123-2/+19
| | | | | | | | | | | * translate.cxx (emit_common_header): Add a kretprobe_instance pointer to struct context. (emit_symbol_data): Include absolute symbols. * tapsets.cxx (emit_common_header): Initialize the kprobe instance pointer to 0; (emit_probe_entries): Set kretprobe instance pointer if appropriate.
* Fix comment.hunt2006-10-121-6/+0
|
* 2006-10-12 Martin Hunt <hunt@redhat.com>hunt2006-10-127-199/+378
| | | | | | | | | | | | | | | * stack.c: Reorganize and split arch-specific functions to separate files. (_stp_kta): Better checking. (_stp_stack_sprint): Better handling of return probes. * stack-i386.c: New file. Uses 2.6.18 DWARF unwinder if available. * stack-x86_64.c: New file. Uses 2.6.18 DWARF unwinder if available. * stack-ppc64.c: New file. * stack-ia64.c: New file. * sym.c (_stp_kallsyms_lookup_name): New function. Like kallsyms_lookup_name() except use our internal lookup table.
* * ioscheduler.stp:guanglei2006-10-126-112/+119
| | | | | | | | | | | bugfix to avoid refer to NULL pointer * hookid_defs.stp, ioscheduler.stp, register_event.stp: break the old addevent.ioscheduler.elv_next_request into addevent.ioscheduler.elv_next_request.entry and addevent.ioscheduler.elv_next_request.return. Now log_ioscheduler_tracedata_* will use the variables defined in generic ioscheduler tapset
* 2006-10-11 David Smith <dsmith@redhat.com>dsmith2006-10-114-1/+116
| | | | | | | | | | | | | | * tapsets.cxx (in_kprobes_function): New function that looks up the values of '__kprobes_text_start' and '__kprobes_text_end' in the kernel to be able to automatically exclude functions marked as '__kprobes' (BZ# 2639). (blacklisted_p): Calls in_kprobes_function(). (query_kernel_module): Utility function that finds the kernel module. * session.h (struct systemtap_session): Added kprobes_text variables - kprobes_text_initialized, kprobes_text_start, and kprobes_text_end. * elaborate.cxx (systemtap_session::systemtap_session): kprobes_text variables get initialized.
* bugfix of LKET/tapsets for pointer conversion on 32-bit platformguanglei2006-10-1110-83/+98
| | | | make sys_request_key optional on i386
* .roland2006-10-101-13/+17
|
* 2006-10-10 Roland McGrath <roland@redhat.com>roland2006-10-101-1/+1
| | | | * systemtap.spec.in (elfutils_version): Require 0.124 now.
* fix for transport test failure in nightly testsuitetrz2006-10-102-2/+7
|
* * partial rollback of mysql code in lket/b2a until configury problems are solvedfche2006-10-105-5/+28
|
* * runtime/lket/b2a/lket_b2a.c, runtime/lket/b2a/lket_b2a.h:guanglei2006-10-103-3/+33
| | | | clean up the unused database tables and destory GTree on exit.
* * runtime/lket/b2a/lket_b2a.c, runtime/lket/b2a/lket_b2a.h:guanglei2006-10-1010-207/+546
| | | | | | | | | | | | | | | | | Adding the support of automatically database creation and dumping lket trace into mysql database * configure.ac: add the checking of mysql client library * Makefile.in, configure: regenerated * runtime/lket/b2a/Makefile.am: add the checking and optional compiling for mysql client library * runtime/lket/b2a/Makefile.in: regenerated
* stapprobes.signal.5.in:guanglei2006-10-109-628/+958
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | document signal syscall hookiddefs.stp: some changes to the hookid: Now the hookid of a return type event(addevent.*.return) should be an even number and its value should be the corresponding entry event hookid +1. The hookid of a non-return type event should be an odd number. Add the hookid of HOOKID_REGEVTDESC register_event.stp: add register_evt_desc() to register the description of an event. Change the register_sys_event() to add the an argument representing event description Allow to use empty format string and empty field name when calling register_event(). Change all calling to register_sys_event() to add an argument which represents the event description. Change register_evt_desc() and register_event() to add an argument representing the event description string, which could help facilitate the error debugging. iosyscall.stp: bugfix to add the variable GroupID and hookID nfs.stp: bugfix to add some omitted probe definitions. nfs_proc.stp: bugfix of the wrong calling to _lket_trace() for nfs_proc.remove.entry.
* 2006-10-09 Josh Stone <joshua.i.stone@intel.com>jistone2006-10-092-1/+25
| | | | | | | From David Wilder <dwilder@us.ibm.com> * time.c (__stp_estimate_cpufreq): Short-circuit on s390. (_stp_gettimeofday_ns): Use a fixed formula on s390 to convert TOD clocks to nanoseconds.
* Reenable this testsuite. Why was it disabled?hunt2006-10-091-3/+1
|
* * round 'em upfche2006-10-056-1003/+0
| | | | * move 'em out
* 2006-10-04 Frank Ch. Eigler <fche@elastic.org>fche2006-10-042-3/+10
| | | | | * context.stp (probefunc): Return empty string for userspace (< PAGE_OFFSET) pointers.
* create src/man/stapprobes.*.in for detailed stap probe points.guanglei2006-09-2918-936/+3597
|
* PR 3282guanglei2006-09-293-2/+7
| | | | Makefile.am: add -DPKGLIBDIR='"$(pkglibexecdir)"' to AM_CPPFLAGS
* Better output for debugging.hunt2006-09-281-21/+21
|
* 2006-09-28 Martin Hunt <hunt@redhat.com>hunt2006-09-283-0/+16
| | | | | * buildok/eighteen.stp: Fix for 2.6.18. * buildok/two.stp: Ditto.
* 2006-09-28 Josh Stone <joshua.i.stone@intel.com>jistone2006-09-282-7/+13
| | | | | | | PR 3278 * tapsets.cxx (hrtimer_derived_probe::emit_probe_entries): Only restart timers when the session is still active and we updated the expire time.
* 2006-09-27 Josh Stone <joshua.i.stone@intel.com>jistone2006-09-288-165/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * session.h (struct systemtap_session): Add kernel_base_release to store the kernel version without the -NNN suffix. * main.cxx (main): Generate and use kernel_base_release. * parse.cxx (eval_pp_conditional): Use kernel_base_release. * tapsets.cxx (profile_derived_probe::profile_derived_probe): Use kernel_base_release. * tapsets.cxx (timer_builder::build): Support a wide variety of timer varients -- jiffies, s/sec, ms/msec, us/usec, ns/nsec, and hz. Use hrtimers automatically on kernels that have it. (timer_builder::register_patterns): Bind all of the new timer varients in one easy place. (register_standard_tapsets): Call timer_builder::register_patterns. (struct hrtimer_builder): Removed since timer_builder is generic. * stapprobes.5.in: Document new timer.* functionality. * tapsets.cxx (hrtimer_derived_probe_group::emit_probes): Add a shared global for the actual hrtimer resolution, _stp_hrtimer_res. (hrtimer_derived_probe_group::emit_module): Init _stp_hrtimer_res. (hrtimer_derived_probe::emit_interval): Limit intervals at a minimum to the hrtimer's actual resolution. (hrtimer_derived_probe::emit_probe_entries): Forward timers based on previous expiration instead of restarting relative. testsuite/ * buildok/fourteen.stp: Test new timer functionality.
* 2006-09-27 Martin Hunt <hunt@redhat.com>hunt2006-09-274-81/+63
| | | | | | | | | | * stack.c (_stp_kta): Rewrite. Use the _stap_symbols struct instead of calling into the kernel. * sym.c (_stp_kallsyms_lookup): Move here from runtime.h * runtime.h: Get rid of all the symbol stuff that did not belong here.
* 2006-09-26 David Smith <dsmith@redhat.com>dsmith2006-09-2614-101/+111
| | | | | | | | | | | | | | | | | | | | | * .cvsignore: Changed 'stpd' reference to 'staprun'. * INTERNALS: Ditto. * buildrun.cxx (run_pass): Ditto. * lket.5.in: Ditto. * stap.1.in: Ditto. * stapruncs.5.in: Ditto. * examples/small_demos/demo_script.txt: Ditto. * examples/small_demos/sys.stp: Ditto. * systemtap.spec.in: Created a new subpackage, "systemtap-runtime", that contains staprun. * Makefile.am: Renamed 'stpd' to 'staprun' and moved it to $(bindir). * Makefile.in: Regenerated from Makefile.am. * configure.ac: Incremented version number. * configure: Regenerated from configure.ac.
* 2006-09-26 David Smith <dsmith@redhat.com>dsmith2006-09-268-35/+46
| | | | | | | | | | * README: Changed 'stpd' references to 'staprun'. * README.doc: Ditto. * TODO: Ditto. * io.c: Ditto. * print.c: Ditto. * runtime.h: Ditto. * bench2/bench.rb: Ditto.
* 2006-09-26 David Smith <dsmith@redhat.com>dsmith2006-09-264-3/+9
| | | | | | * bench/run_bench: Changed 'stpd' references to 'staprun'. * bench/trans_bench: Ditto. * where_func/README: Ditto.
* 2006-09-26 David Smith <dsmith@redhat.com>dsmith2006-09-264-9/+15
| | | | | | * Makefile: Changed 'stpd' references to 'staprun'. * librelay.c: Ditto. * stpd.c: Ditto.
* 2006-09-26 David Smith <dsmith@redhat.com>dsmith2006-09-263-16/+21
| | | | | * transport.c: Changed 'stpd' references to 'staprun'. * transport.txt: Ditto.
* 2006-09-26 David Smith <dsmith@redhat.com>dsmith2006-09-263-5/+10
| | | | | * io.c: Changed 'stpd' references to 'staprun'. * print.c: Ditto.
* 2006-09-26 David Smith <dsmith@redhat.com>dsmith2006-09-262-3/+7
| | | | * test/run.sh: Changed 'stpd' references to 'staprun'.
* 2006-09-26 David Smith <dsmith@redhat.com>dsmith2006-09-262-1/+5
| | | | * tskdispatch.stp: Changed 'stpd' reference to 'staprun'.
* 2006-09-26 David Smith <dsmith@redhat.com>dsmith2006-09-262-6/+11
| | | | | * systemtap.samples/args.exp: Looks for 'staprun' instead of 'stpd'.
* 2006-09-26 David Smith <dsmith@redhat.com>dsmith2006-09-262-11/+12
| | | | * test.tcl: Looks for 'staprun' instead of 'stpd'.
* 2006-09-26 Martin Hunt <hunt@redhat.com>hunt2006-09-262-9/+19
| | | | | | | * transport.c (_stp_handle_start): Don't initialize timers here. (_stp_transport_init): Initialize timers here. (_stp_cleanup_and_exit): Don't kill timers or free print buffers here. (_stp_transport_close): kill timers and free print buffers here.
* 2006-09-26 Martin Hunt <hunt@redhat.com>hunt2006-09-262-16/+26
| | | | | | | * time.c (_stp_init_time): Use dynamic percpu allocations instead of evil static allocations. (_stp_kill_time): Free percpu allocations and set _stp_time to NULL so the timers are only deleted once.
* 2006-09-26 Martin Hunt <hunt@redhat.com>hunt2006-09-262-7/+5
| | | | | * io.c (_stp_vlog): Remove ifdef for STP_RELAYFS. Relayfs now behaves the same as procfs.
* fix for bz 2816trz2006-09-256-46/+38
|
* register_event.stp, process.stp, lket_trace.stp:guanglei2006-09-234-6/+13
| | | | Change to per_cpu_ptr(Stp_pbuf, smp_processor_id()) to get the per-cpu printing buffer
* 2006-09-22 Martin Hunt <hunt@redhat.com>hunt2006-09-223-16/+18
| | | | | * print.c: Replace STP_PRINT_BUF_LEN with STP_BUFFER_SIZE. * string.c: Ditto.
* clean up if stp_check failstrz2006-09-222-1/+5
|
* have stp_check mount debugfstrz2006-09-222-0/+14
|