| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* runtime.h: Include mm.h.
|
|
|
|
| |
* transport.c: Fixes to use the new 2.6.20 workqueue API.
|
|
|
|
| |
bugfix for NULL appname when search appNameTree.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* print.c (_stp_print_flush): Add a likely() marker to the hot path.
|
|
|
|
| |
* regs.h (s390x REG_IP): Parenthesize for warning-free builds.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* bench2/bench.rb: Fixes for the latest runtime
changes.
|
| |
|
|
|
|
|
| |
change the return codes of lket-b2a and add a new macro b2a_error() for error
reporting
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
* symbols.c (do_kernel_symbols): Add sizeof(long) to sym_base
to preserve 64-bit alignment.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* alloc.c (STP_ALLOC_FLAGS): Define.
Cleanup ifdefs.
* map.c: Use STP_ALLOC_FLAGS.
* stat.c: ditto.
|
|
|
|
| |
bugfix of lket-b2a
|
|
|
|
| |
bugfix of the obsolete buf_info and consumed_info.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* sym.h: Change int to int32_t.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
* symbols.c (_stp_do_module): Fix error message.
|
| |
|
|
|
|
|
| |
* io.c (_stp_vlog, _stp_dbug): Make first parameter const.
* runtime.h: Update prototype for _stp_dbug.
|
|
|
|
|
| |
* runtime/regs.c: patch from Bibo Mao for fixing the return
value on IA64 (bz #3404).
|
| |
|
|
|
|
|
|
| |
Document signal trace hooks into lket man page
bugfix of lket-b2a for event description data insert
|
| |
|
| |
|
|
|
|
|
|
| |
header files
* runtime/lket/b2a/Makefile.am: set compile flags according to the existance of mysql_config
|
|
|
|
| |
* stack-ppc64.c (__stp_stack_sprint): Declare sp before _sp.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
| |
clean up the unused database tables and destory GTree on exit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* README: Changed 'stpd' references to 'staprun'.
* README.doc: Ditto.
* TODO: Ditto.
* io.c: Ditto.
* print.c: Ditto.
* runtime.h: Ditto.
* bench2/bench.rb: Ditto.
|
|
|
|
|
|
| |
* bench/run_bench: Changed 'stpd' references to 'staprun'.
* bench/trans_bench: Ditto.
* where_func/README: Ditto.
|
|
|
|
|
|
| |
* Makefile: Changed 'stpd' references to 'staprun'.
* librelay.c: Ditto.
* stpd.c: Ditto.
|
|
|
|
|
| |
* transport.c: Changed 'stpd' references to 'staprun'.
* transport.txt: Ditto.
|