summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
|
* 2006-09-22 Martin Hunt <hunt@redhat.com>hunt2006-09-223-5/+24
| | | | | * transport.c (_stp_work_queue): Reenable some cleanup code.
* Document RPC trace hooks in lket.5.inguanglei2006-09-222-2/+188
|
* 2006-09-21 Martin Hunt <hunt@redhat.com>hunt2006-09-223-16/+34
| | | | | * transport.c (_stp_transport_init): Call _stp_print_init(). (_stp_cleanup_and_exit): Call _stp_print_cleanup().
* 2006-09-21 Martin Hunt <hunt@redhat.com>hunt2006-09-223-7/+31
| | | | | | | | | | | PR 3232 * print.c (_stp_print_init): New. Alloc per-cpu buffers. (_stp_print_cleanup): New. Free per-cpu buffers. (_stp_print_flush): Use per_cpu_ptr(). * string.c (_stp_sprintf): Ditto. (_stp_vsprintf): Ditto. (_stp_string_cat_cstr): Ditto. (_stp_string_cat_char): Ditto.
* Use semaphore if mutex not availabletrz2006-09-212-2/+27
|
* 2006-09-20 Josh Stone <joshua.i.stone@intel.com>jistone2006-09-202-2/+5
| | | | | * lket/b2a/lket_b2a.c (main): Correct arguments to fseek. (dump_data): Work around a spurious compiler warning.
* 2006-09-20 Josh Stone <joshua.i.stone@intel.com>jistone2006-09-208-38/+94
| | | | | | | | | | | | | | | | | | | | | | | | PR 3233 ./ * stapfuncs.5.in: Document new gettimeofday_ns. runtime/ * time.c (stp_time_t): Use ns for the base time, and freq is now kHz. (__stp_estimate_cpufreq): Compute kHz instead of MHz. (__stp_time_timer_callback, __stp_init_time): Compute base in ns. (__stp_time_cpufreq_callback): Record kHz instead of MHz. (_stp_init_time): Record kHz, and disable preemption to avoid a race in the cpufreq notifier. (_stp_gettimeofday_ns): Converted from _stp_gettimeofday_us. tapset/ * timestamp.stp (gettimeofday_ns): New function (gettimeofday_us, gettimeofday_ms, gettimeofday_s): Use gettimeofday_ns as the base unit. testsuite/ * buildok/timestamp.stp: add gettimeofday_ns test.
* Conversion from relay-on-procfs to relay-on-debugfstrz2006-09-199-165/+148
|
* lket_trace.stp,process.stp,register_event.stp:guanglei2006-09-197-103/+157
| | | | | | | | | Be sync with the runtime printing changes made by Martin lket/b2a/lket_b2a.c, lket/b2a/lket_b2a.h: Be sync with the recent runtime printing changes made by Martin. Some clean up work before adding the support of dumping data into MySQL Bug fix of segment fault when an event is not registered.
* From Gui Jian <guijian@cn.ibm.com>:guanglei2006-09-196-179/+1426
| | | | | | | | | | | | | | tapset/rpc.stp: Some changes and more comments of RPC tapset tapset/LKET/rpc.stp: New trace hooks for RPC activities on client, server and scheduler sides tapset/LKET/register_event.stp: Add the register_sys_event() calls for new RPC trace hooks tapset/LKET/hookid_defs.stp: Add the definitions of RPC trace hooks
* 2006-09-18 Josh Stone <joshua.i.stone@intel.com>jistone2006-09-182-1/+8
| | | | | | PR 3220 From Eugeniy Meshcheryakov <eugen@debian.org>: * lket/b2a/lket_b2a.c: Check that appNameTree exists before destroying.