summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* 2006-12-20 Martin Hunt <hunt@redhat.com>hunt2006-12-202-0/+5
| | | | * runtime.h: Include mm.h.
* 2006-12-20 Martin Hunt <hunt@redhat.com>hunt2006-12-202-5/+21
| | | | * transport.c: Fixes to use the new 2.6.20 workqueue API.
* runtime/lket/b2a/lket-b2a.c:guanglei2006-12-202-3/+18
| | | | bugfix for NULL appname when search appNameTree.
* 2006-12-18 David Smith <dsmith@redhat.com>dsmith2006-12-182-1/+8
| | | | | | * lket/b2a/Makefile.in: Regenerated. This needed to be done since lket/b2a/README was removed but lket/b2a/Makefile.in still had a reference to it which was causing "make distdir" to fail.
* 2006-12-18 Frank Ch. Eigler <fche@elastic.org>fche2006-12-182-1/+41
| | | | | | | | | | | PR 3079 * loc2c-runtime.h (deref, store_deref): Fork x86 and x86-64 variants. Remove dysfunctional 64-bit ops from x86. 2006-12-18 Frank Ch. Eigler <fche@elastic.org> * vfs.stp (ppos_pos): Protect contents with deref(), though this blocks operation on i686 due to bug #3079.
* 2006-12-15 Frank Ch. Eigler <fche@elastic.org>fche2006-12-152-1/+5
| | | | * print.c (_stp_print_flush): Add a likely() marker to the hot path.
* 2006-12-13 Frank Ch. Eigler <fche@elastic.org>fche2006-12-132-1/+5
| | | | * regs.h (s390x REG_IP): Parenthesize for warning-free builds.
* 2006-12-11 Martin Hunt <hunt@redhat.com>hunt2006-12-112-5/+27
| | | | | | * symbols.c (get_sections): Set buffer sizes to large enough sizes to hold all possible values, but also include checks in case we are wrong.
* 2006-12-08 Josh Stone <joshua.i.stone@intel.com>jistone2006-12-092-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | PR 3681. * staptree.h (struct vardecl): Add a literal 'init' member for the initialization value of globals. * staptree.cxx (vardecl::vardecl): Initialize 'init' to NULL. (vardecl::print): Print global init value during pass-1 output. * main.cxx (printscript): Print global init values during verbose pass-2 output. * parse.cxx (parser::parse_global): Set the initialization literal of global vardecls. * translate.cxx (var::init): Don't unconditionally override the value of numeric globals when the module_param isn't used. (c_unparser::emit_global_param): Write numeric module_params directly into the global variable, as an int64_t instead of long. (c_unparser::emit_global): Add initialization to global declarations. Don't create a temp module_param long for numeric globals anymore. runtime/ * runtime.h (param_set_int64_t, param_get_int64_t, param_check_int64_t): New functions to allow taking module parameters directly as int64_t values. testsuite/ * systemtap.base/global_init.exp, systemtap.base/global_init.stp: New test for checking the timeliness of global initialization.
* 2006-12-06 Josh Stone <joshua.i.stone@intel.com>jistone2006-12-072-27/+47
| | | | | | | | | | | | | | | | | | | | | PR 3623. * tapsets.cxx (timer_derived_probe_group::emit_module_decls): Restart the timers if we are in STARTING or RUNNING state. (hrtimer_derived_probe_group::emit_module_decls): Ditto. (be_derived_probe_group::emit_module_init): indicate error to the rest of the initialization if any begin probes fail. * translate.cxx (c_unparser::emit_module_init): Set the global error state on an initialization error so timers know to shut down. runtime/ * time.c (stp_timer_reregister): Add a global to control whether the gettimeofday timer should restart itself, for clean shutdown. (__stp_time_timer_callback): Check the global. (_stp_kill_time, _stp_init_time): Set the global. (_stp_gettimeofday_ns): Switch to preempt_enable_no_resched. * time.c (__stp_time_cpufreq_callback): Use the cpu# from the notifier. (_stp_init_time): No need to disable preemption around cpufreq init.
* 2006-12-04 Martin Hunt <hunt@redhat.com>hunt2006-12-042-30/+50
| | | | | * bench2/bench.rb: Fixes for the latest runtime changes.
* Always include sym.chunt2006-12-041-0/+1
|
* add LKET testcase into testsuite/systemtap.samples/guanglei2006-11-212-48/+42
| | | | | change the return codes of lket-b2a and add a new macro b2a_error() for error reporting
* return value changes for lket-b2aguanglei2006-11-201-7/+17
|
* bugfix for #3526:guanglei2006-11-193-65/+58
| | | | | | | | | runtime/lket/b2a/lket_b2a.[ch]: bugfix for #3536 lket_trace.stp: add the logging of pid, ppid process.stp: add logging of tid, ppid for lket_internal.process.execve. Change to use for_each_process() in process_snapshot() to get the info of all running processes. register_event.stp: update the registering codes of execve event.
* *** empty log message ***hunt2006-11-151-6/+7
|
* 2006-11-15 Martin Hunt <hunt@redhat.com>hunt2006-11-152-3/+8
| | | | | * symbols.c (do_kernel_symbols): Add sizeof(long) to sym_base to preserve 64-bit alignment.
* 2006-11-15 Martin Hunt <hunt@redhat.com>hunt2006-11-153-11/+24
| | | | | | | | * procfs.c (_stp_proc_write_cmd): For STP_SYMBOLS, type field is a long to preserve alignment. Use STP_ALLOC_FLAGS. * symbols.c: Use STP_ALLOC_FLAGS.
* 2006-11-15 Martin Hunt <hunt@redhat.com>hunt2006-11-155-26/+34
| | | | | | | * alloc.c (STP_ALLOC_FLAGS): Define. Cleanup ifdefs. * map.c: Use STP_ALLOC_FLAGS. * stat.c: ditto.
* bugfix of NFS event register codes for LKETguanglei2006-11-101-2/+1
| | | | bugfix of lket-b2a
* transport/procfs.c:guanglei2006-11-102-2/+7
| | | | bugfix of the obsolete buf_info and consumed_info.
* 2006-11-09 Martin Hunt <hunt@redhat.com>hunt2006-11-094-33/+48
| | | | | | | | * transport_msgs.h: Change all ints to int32_t. Prefix all struct names with "_stp". * transport.c: Use new struct names. (_stp_handle_start): Send pointer size and endianess. * procfs.c: Use new struct names.
* 2006-11-09 Martin Hunt <hunt@redhat.com>hunt2006-11-095-39/+47
| | | | | | | | | | | * librelay.c: Change all references to transport messages to use the new names with "_stp" prefix. (stp_main_loop): For STP_SYMBOLS, check pointer size and endianess to confirm staprun is compatible with the kernel. * librelay.h: Move a bunch of common includes here. * stpd.c: Cleanup includes. * symbols.c: Ditto.
* 2006-11-09 Martin Hunt <hunt@redhat.com>hunt2006-11-092-3/+7
| | | | * sym.h: Change int to int32_t.
* add options for lket-b2a to control the output data fields of lket.out.guanglei2006-11-093-9/+60
| | | | | | | | make fork/execce trace hooks lket internally and turned on by default. add stoptrace_fork and stoptrace_execve flags for lket to control stopping fork/execve in user scripts. update lket-b2a and lket man page.
* remove runtime/lket/b2a/READMEguanglei2006-11-081-48/+0
|
* * 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.