summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* * a question for huntfche2006-11-061-1/+1
|
* *** empty log message ***hunt2006-11-021-0/+8
|
* 2006-11-02 Martin Hunt <hunt@redhat.com>hunt2006-11-022-2/+5
| | | | * symbols.c (_stp_do_module): Fix error message.
* New dynamic module and symbol handling code.hunt2006-11-0212-84/+923
|
* 2006-11-02 Martin Hunt <hunt@redhat.com>hunt2006-11-023-3/+8
| | | | | * io.c (_stp_vlog, _stp_dbug): Make first parameter const. * runtime.h: Update prototype for _stp_dbug.
* 2006-10-27 Thang Nguyen <thang.p.nguyen@intel.com>tpnguyen2006-10-272-3/+16
| | | | | * runtime/regs.c: patch from Bibo Mao for fixing the return value on IA64 (bz #3404).
* sync lket-b2a with LKET hookid rearrangementguanglei2006-10-243-22/+28
|
* New man page for lket-b2aguanglei2006-10-232-5/+15
| | | | | | Document signal trace hooks into lket man page bugfix of lket-b2a for event description data insert
* Change warning message from configure for mysqlguanglei2006-10-201-0/+1
|
* Adding s390x supportdwilder2006-10-197-0/+296
|
* * configure.ac: add the checking for mysql_config, mysqlclient library and ↵guanglei2006-10-162-5/+20
| | | | | | header files * runtime/lket/b2a/Makefile.am: set compile flags according to the existance of mysql_config
* 2006-10-12 Martin Hunt <hunt@redhat.com>hunt2006-10-132-1/+5
| | | | * stack-ppc64.c (__stp_stack_sprint): Declare sp before _sp.
* 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.
* 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-102-3/+10
|
* * 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-105-206/+503
| | | | | | | | | | | | | | | | | 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
* 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.
* 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-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 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
|
* 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
|
* 2006-09-22 Martin Hunt <hunt@redhat.com>hunt2006-09-223-5/+24
| | | | | * transport.c (_stp_work_queue): Reenable some cleanup code.
* 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-202-32/+63
| | | | | | | | | | | | | | | | | | | | | | | | 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-197-164/+142
|
* lket_trace.stp,process.stp,register_event.stp:guanglei2006-09-193-96/+138
| | | | | | | | | 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.
* 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.
* *** empty log message ***hunt2006-09-181-0/+7
|
* 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-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.
* 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().
* Systemtap perfmon support to access the processors perfmon hardware.wcohen2006-09-123-0/+165
|
* add another two kinds of timing mechanisms for LKET, i.e. get_cycles() andguanglei2006-08-293-6/+89
| | | | sched_clock()
* PR 3037wcohen2006-08-143-2/+6
| | | | | * string.c: * print.c: Remove includes for <linux/config.h>.
* 2006-08-11 David Smith <dsmith@redhat.com>dsmith2006-08-112-0/+6
| | | | | * lket/b2a/.cvsignore: Added file to let cvs ignore generated files.