summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 2006-09-18 Josh Stone <joshua.i.stone@intel.com>jistone2006-09-182-4/+10
| | | | | | PR 3219 From Eugeniy Meshcheryakov <eugen@debian.org>: * stapprobes.5.in: Correct misuse of '-' -> '\-' in manpage
* *** empty log message ***hunt2006-09-181-0/+7
|
* 2006-09-18 Martin Hunt <hunt@redhat.com>hunt2006-09-183-1/+11
| | | | | * logging.stp (stp_print_binary): New function. * string.stp: Fix docs.
* 2006-09-18 Martin Hunt <hunt@redhat.com>hunt2006-09-182-5/+48
| | | | | | | * bench2/bench.rb: Remove the deprecated "-m" option to stpd. Also, don't use merge mode for relayfs. * bench2/run_binary_print: New test. Compare various ways of printing binary data.
* 2006-09-18 Martin Hunt <hunt@redhat.com>hunt2006-09-183-2/+12
| | | | | | * buildrun.cxx (run_pass): Remove "-m" option to stpd. * translate.cxx (translate_pass): #define STP_RELAYFS_MERGE if appropriate.
* 2006-09-18 Martin Hunt <hunt@redhat.com>hunt2006-09-183-1/+14
| | | | | * transport_msgs.h (struct transport_info): Add merge field. * transport.c (_stp_transport_open): Set merge field.
* 2006-09-18 Martin Hunt <hunt@redhat.com>hunt2006-09-183-35/+57
| | | | | | | | | * stpd.c (usage): Remove "-m" option. (main): Print warning if "-m" is used. * librelay.c (merge_output): Rewrite to handle new format that support binary. (stp_main_loop): Read merge option from the transport info message.
* 2006-09-18 Martin Hunt <hunt@redhat.com>hunt2006-09-184-88/+155
| | | | | | | | | | | | | | | | * print.c (_stp_print_flush): Rewrite so one version works for relayfs or procfs. Use proper per-cpu functions. (_stp_reserve_bytes): New function. Reserve bytes in the output buffer. (_stp_print_binary): New function. Write a variable number of 64-bit values directly into the output buffer. * string.c (_stp_sprintf): Rewrite using new per-cpu buffers. (_stp_vsprintf): Ditto. (_stp_string_cat_cstr): Ditto. (_stp_string_cat_char): Ditto. * runtime.h: Set defaults for MAXTRYLOCK and TRYLOCKDELAY to make runtime tests in bench2 happy.
* Close when done.hunt2006-09-181-0/+1
|
* *.stp:guanglei2006-09-159-235/+223
| | | | | | | | Make all integers passed into _lket_trace() casted into int64_t explicitly. Delete calling to filter_by_pid() * nfs*.stp: Change addevent.*.entries to addevent.*.entry
* 2006-09-13 Martin Hunt <hunt@redhat.com>hunt2006-09-132-1/+4
| | | | * buildrun.cxx (run_pass): Remove "-r" option to stpd.
* 2006-09-13 Martin Hunt <hunt@redhat.com>hunt2006-09-134-59/+59
| | | | | | | | | | * librelay.c (init_relayfs): Exec stp_check and find relay_filebase. * librelay.h (stp_main_loop): Fix declaration of init_stp(). * stpd.c (usage): Remove "-r" option. (main): Don't find stpd_filebase and don't send it to init_stp().
* Do not throw sematic error unless probes actually used.wcohen2006-09-132-2/+5
|
* Correct typo in ChangeLog.wcohen2006-09-121-2/+2
|
* Changelog entry for SystemTap perfmon support.wcohen2006-09-121-0/+39
|
* Systemtap perfmon support to access the processors perfmon hardware.wcohen2006-09-1216-3/+865
|
* 2006-09-12 David Smith <dsmith@redhat.com>dsmith2006-09-122-0/+5
| | | | * Added .cvsignore file.