summaryrefslogtreecommitdiffstats
path: root/runtime/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed __STP_ATTACHED_TASK_EVENTS problem caused by last commit.David Smith2008-09-261-0/+5
| | | | | | | 2008-09-26 David Smith <dsmith@redhat.com> * task_finder.c (__STP_ATTACHED_TASK_EVENTS): Removed UTRACE_STOP, which isn't needed anymore.
* New utrace fixes.David Smith2008-09-251-0/+14
| | | | | | | | | | | | | | | | 2008-09-25 David Smith <dsmith@redhat.com> * task_finder.c (__stp_utrace_attach): Added action flag to know to request the thread to be stopped or not. (stap_utrace_attach): Now just calls __stp_utrace_attach(). (__stp_utrace_task_finder_target_quiesce): Handles utrace_set_events() errors properly. * utrace_compatibility.h (enum utrace_resume_action): Added utrace_resume_action enum. (utrace_control): Added UTRACE_STOP support. (utrace_engine_put): New. (utrace_barrier): New.
* PR 6487, 6504: robustify __stp_print_flushFrank Ch. Eigler2008-09-171-0/+6
|
* PR6028: use ip instead of pp for probe identification.Masami Hiramatsu2008-09-121-0/+6
|
* BZ 6755 fix. Wait until all callbacks are finished.David Smith2008-09-121-0/+16
| | | | | | | | | | | | | | | | | | 2008-09-12 David Smith <dsmith@redhat.com> BZ 6755 * task_finder.c: Added 'inuse' count to know when handlers are still running. (__stp_utrace_task_finder_report_clone): If state isn't correct, detach. Increase 'inuse' count when starting, decrement when exiting. (__stp_utrace_task_finder_report_exec): Ditto. (__stp_utrace_task_finder_target_death): Ditto. (__stp_utrace_task_finder_target_quiesce): Increase 'inuse' count when starting, decrement when exiting. (__stp_utrace_task_finder_target_syscall_entry): Ditto. (__stp_utrace_task_finder_target_syscall_exit): Ditto. (stap_stop_task_finder): Wait until all callbacks are finished.
* backtrace fix for i386 with neither frame pointers nor dwarf unwindingFrank Ch. Eigler2008-09-101-0/+8
|
* Rename _stp_module module_base output to dwarf_module_base and document.Mark Wielaard2008-09-101-0/+5
|
* Enable usage of STP_USE_DWARF_UNWINDER for i386 and arm for debugging purposes.Mark Wielaard2008-09-101-0/+5
|
* Record module base and use it for adjusting start locations in dwarf unwinder.Mark Wielaard2008-09-101-0/+7
|
* Feed dwarf unwinder data through _stp_mod_sec_lookup (), but disabled for now.Mark Wielaard2008-09-101-0/+8
|
* Add new function _stp_mod_sec_lookup extracted from _stp_kallsyms_lookup.Mark Wielaard2008-09-101-0/+5
|
* Utrace on ia64 fast fetch-register supportMasami Hiramatsu2008-09-091-0/+11
|
* Add ia64 utrace supportMasami Hiramatsu2008-09-091-0/+4
|
* Correct this_section_offset calculation in _stp_kallsyms_lookup.Mark Wielaard2008-09-091-0/+5
|
* PR1288: runtime functions for avoiding certain addressesTim Moore2008-09-081-0/+8
|
* PR6445: documentation, mopping upFrank Ch. Eigler2008-09-061-0/+7
|
* PR4225: post-merge changelogsFrank Ch. Eigler2008-09-011-0/+5
|
* Pushed quiesce logic down into the task_finder layer.David Smith2008-08-291-0/+8
| | | | | | | | | | | | | | | | | | 2008-08-29 David Smith <dsmith@redhat.com> * tapsets.cxx (utrace_derived_probe_group::emit_probe_decl): Pushed quiesce logic down into the task_finder layer. (utrace_derived_probe_group::emit_module_decls): Removed quiesce handler routines. Syscall probe handler detaches if systemtap state isn't correct. 2008-08-29 David Smith <dsmith@redhat.com> * task_finder.c (__stp_utrace_attach_match_filename): Don't call the callback when the interesting thread is found, call it when the tread is quiesced. (stap_start_task_finder): Ditto. (__stp_utrace_task_finder_target_quiesce): Call the callback.
* Uses STAPCONF_DPATH_PATH instead of a kernel version check.David Smith2008-08-261-0/+10
| | | | | | | | | | | | | | | | 2008-08-26 David Smith <dsmith@redhat.com> * buildrun.cxx (compile_pass): Added autoconf-dpath-path.c. 2008-08-26 David Smith <dsmith@redhat.com> * autoconf-d_path-path.c: New file. * task_finder.c (__stp_get_mm_path): Uses STAPCONF_DPATH_PATH instead of a kernel version check to determine how to call d_path(). (__stp_utrace_task_finder_target_quiesce): Ditto. (__stp_target_call_vm_callback): Ditto.
* Added task finder target parameter to vm_callback functions.David Smith2008-08-211-0/+12
| | | | | | | | | | | | | | | | | | | | 2008-08-21 David Smith <dsmith@redhat.com> * tapsets.cxx (itrace_derived_probe_group::emit_module_decls): Updated task finder callback function signature. (utrace_derived_probe_group::emit_module_decls): Ditto. 2008-08-21 David Smith <dsmith@redhat.com> * task_finder.c (__stp_tf_vm_cb): Added task finder target parameter. (__stp_utrace_attach_match_filename): Updated task finder callback call. (__stp_utrace_task_finder_target_death): Ditto. (__stp_utrace_task_finder_target_quiesce): Ditto. (__stp_target_call_vm_callback): Ditto. (__stp_utrace_task_finder_target_syscall_exit): Ditto. (stap_start_task_finder): Ditto.
* Supports original and new utrace interfaces.David Smith2008-08-201-0/+4
| | | | | | | | | | | | | | 2008-08-20 David Smith <dsmith@redhat.com> * tapsets.cxx (utrace_derived_probe_group::emit_probe_decl): Supports original and new utrace interfaces. (utrace_derived_probe_group::emit_module_decls): Ditto. 2008-08-20 David Smith <dsmith@redhat.com> * task_finder.c: Supports original and new utrace interfaces. * utrace_compatibility.h (utrace_attach_task): Compatibility layer for original utrace interface.
* Looks for both mmap and mmap2.David Smith2008-08-201-0/+7
| | | | | | | | | 2008-08-20 David Smith <dsmith@redhat.com> * task_finder.c (__stp_utrace_task_finder_target_syscall_entry): Handles mmap2 (as well as mmap). (__stp_utrace_task_finder_target_syscall_exit): Ditto. * syscall.h: Added defines for mmap and mmap2.
* PR 6841 fix.David Smith2008-08-191-0/+6
| | | | | | | | | | | | | | | | | 2008-08-19 David Smith <dsmith@redhat.com> PR 6841 * tapsets.cxx (utrace_derived_probe_group::emit_probe_decl): Workaround utrace bug by quiescing threads before attaching a utrace syscall engine to them. (utrace_derived_probe_group::emit_module_decls): Emit quiesce handler. 2008-08-19 David Smith <dsmith@redhat.com> PR 6841 * task_finder.c (__stp_utrace_task_finder_target_quiesce): Quiesces thread before turning on syscall tracing.
* PR6842: work around possibly null task->signal in utrace death callbackFrank Ch. Eigler2008-08-141-0/+6
|
* PR 6445 (partial). Implemented system-wide utrace probes.David Smith2008-08-121-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | 2008-08-12 David Smith <dsmith@redhat.com> PR 6445 (partial) * tapsets.cxx (utrace_builder::build): Validates pid and allows probing of "*" to mean all threads. * stapprobes.5.in: Added note about a process path of "*" means to probe all threads. 2008-08-12 David Smith <dsmith@redhat.com> PR 6445 (partial) * task_finder.c (stap_register_task_finder_target): Handles probing all threads. (__stp_utrace_attach_match_filename): Ditto. (stap_start_task_finder): Ditto. 2008-08-12 David Smith <dsmith@redhat.com> PR 6445 (partial) * systemtap.base/utrace_p4.exp: Added test that probes all threads. * semko/utrace14.stp: New test.
* Moved details of utrace detach to stap_utrace_detach().David Smith2008-08-081-0/+4
| | | | | | | | | | | | 2008-08-08 David Smith <dsmith@redhat.com> * tapsets.cxx (utrace_derived_probe_group::emit_module_decls): Calls stap_utrace_detach() to perform detach. 2008-08-08 David Smith <dsmith@redhat.com> * task_finder.c (stap_utrace_detach): New function. (stap_utrace_detach_ops): Calls stap_utrace_detach(). (__stp_utrace_attach_match_filename): Ditto.
* Saves thread vma information.David Smith2008-08-081-0/+10
| | | | | | | | | | | | 2008-08-08 David Smith <dsmith@redhat.com> * task_finder.c (__stp_tf_vm_cb): Added calls to save/delete vma information. * task_finder_vma.c (__stp_tf_vma_map_hash): New function. (__stp_tf_get_vma_map_entry_internal): Ditto. (stap_add_vma_map_info): Ditto. (stap_remove_vma_map_info): Ditto. (stap_find_vma_map_info): Ditto.
* Fix on_each_cpu() call for kernels >2.6.26.Josh Stone2008-07-241-0/+1
| | | | | | | | This is a generalization of the patch from James Bottomley: http://sources.redhat.com/ml/systemtap/2008-q3/msg00220.html The on_each_cpu() change was merged *after* the 2.6.26 release, so I'm using an autoconf test instead of James' version check.
* Remove unused STAPCONF_MODULE_NSECTIONSJosh Stone2008-07-241-0/+4
|
* No longer allocates structure used to save vma information.David Smith2008-07-211-0/+13
| | | | | | | | | | | | | | | 2008-07-21 David Smith <dsmith@redhat.com> * task_finder_vma.c (__stp_tf_vma_initialize): New function to initialize the free list. (__stp_tf_vma_put_free_entry): Puts a vma entry back on the free list. (__stp_tf_add_vma): Instead of allocating a vma entry, grab one from the free list by calling __stp_tf_vma_put_free_entry(). (__stp_tf_remove_vma_entry): Instead of freeing a vma entry, call __stp_tf_vma_put_free_entry() to put it on the free list instead. * task_finder.c (stap_start_task_finder): Calls __stp_tf_vma_initialize().
* BZ442528 changelogs: ia64 fetch_register speedupsFrank Ch. Eigler2008-07-181-0/+5
|
* support multiple-relocatable-section modules such as hypothetical ↵Frank Ch. Eigler2008-07-171-0/+7
| | | | -ffunction-sections .ko's
* PR6738: restore support for rhel4-era (2.6.9) kernelsFrank Ch. Eigler2008-07-121-0/+8
|
* PR6736: changelogs for post-merge compiled unwind/symbols data reorganizationFrank Ch. Eigler2008-07-101-0/+13
|
* Fix PR 6732: Add runtime/autoconf-real-parent.c check for task_struct field.Mark Wielaard2008-07-091-0/+8
|
* Fixed __stp_get_mm_path() error return code.David Smith2008-07-011-0/+7
| | | | | | | | | 2008-07-01 David Smith <dsmith@redhat.com> * task_finder.c (__stp_get_mm_path): Corrected error return code. (__stp_utrace_attach_match_tsk): Ignores ENOENT error from __stp_get_mm_path(). (stap_start_task_finder): Ditto.
* Handles "mortally wounded" threads correctly when detaching.David Smith2008-06-301-0/+8
| | | | | | | | | | 2008-06-30 David Smith <dsmith@redhat.com> * task_finder.c (stap_utrace_detach_ops): Removed check to see if thread has a mm (in the case where a thread isn't quite dead yet). (stap_utrace_attach): Minor error handling improvement. (__stp_utrace_attach_match_tsk): Ditto.
* Added powerpc support to runtime/syscall.h.David Smith2008-06-241-0/+5
| | | | | | | 2008-06-24 David Smith <dsmith@redhat.com> From: Srinivasa DS <srinivasa@in.ibm.com> * syscall.h: Added powerpc support.
* Fixed offset argument to vm_callback.David Smith2008-06-231-0/+5
| | | | | | | | | 2008-06-23 David Smith <dsmith@redhat.com> * task_finder.c (__stp_utrace_task_finder_target_quiesce): Fixed vm_callback offset by shifting it left PAGE_SHIFT bits. (__stp_target_call_vm_callback): Ditto. (__stp_utrace_task_finder_target_syscall_exit): Ditto.
* Handle exec's that use a relative path.David Smith2008-06-231-0/+3
| | | | | | | 2008-06-23 David Smith <dsmith@redhat.com> * task_finder.c (__stp_utrace_task_finder_report_exec): Handles relative exec paths correctly.
* Made RHEL5 changes.David Smith2008-06-231-0/+5
| | | | | | | | | 2008-06-23 David Smith <dsmith@redhat.com> * task_finder_vma.c (__stp_tf_vma_hash): Improved determination of whether this is a 64-bit platform. * syscall.h: Handles kernels with older style register definitions.
* Major update to memory map change notification code.David Smith2008-06-231-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-23 David Smith <dsmith@redhat.com> * tapsets.cxx (utrace_derived_probe_group::emit_probe_decl): Handles UDPF_NONE value. (utrace_derived_probe_group::emit_vm_callback_probe_decl): New function. (utrace_derived_probe_group::emit_module_decls): Calls emit_vm_callback_probe_decl() to set up vm_callbacks. 2008-06-23 David Smith <dsmith@redhat.com> * task_finder.c (__stp_tf_vm_cb): New function. (stap_register_task_finder_target): Sets up syscall entry and syscall exit handlers. (__stp_find_file_based_vma): New function. (__stp_utrace_task_finder_target_syscall_entry): New function. Saves vma information off at syscall entry. (__stp_target_call_vm_callback): New function. (__stp_utrace_task_finder_target_syscall_exit): New function. Handles changes to memory maps based on information saved at syscall entry. * syscall.h: New file containing syscall function. * task_finder_vma.c: New file containing saved vma information handling functions.
* Removed trailing semicolons from macro definitions.David Smith2008-06-231-0/+4
| | | | | | 2008-06-23 David Smith <dsmith@redhat.com> * regs.h: Removed trailing semicolons from macro definitions.
* Got smarter on which utrace events to set on a newly found thread.David Smith2008-06-171-0/+8
| | | | | | | | | | 2008-06-17 David Smith <dsmith@redhat.com> * task_finder.c (__stp_utrace_attach_match_filename): Uses new __STP_ATTACHED_TASK_EVENTS macro to determine which events to set on a newly found process based on whether the stap_task_finder_target structure has a vm_callback defined. (stap_start_task_finder): Ditto.
* Improved callback handling.David Smith2008-06-161-0/+5
| | | | | | | 2008-06-16 David Smith <dsmith@redhat.com> * task_finder.c (stap_start_task_finder): Improved callback handling.
* Very early beginnings of memory map notification support.David Smith2008-06-101-0/+8
| | | | | | | | | | | | | | | 2008-06-10 David Smith <dsmith@redhat.com> * tapsets.cxx (utrace_derived_probe_group::emit_probe_decl): Initializes .vm_callback. 2008-06-10 David Smith <dsmith@redhat.com> * task_finder.c (struct stap_task_finder_target): Added vm_callback public field. (stap_register_task_finder_target): Sets up .report_quiesce handler. (__stp_utrace_task_finder_target_quiesce): New function.
* Made 2.6.25 kernel updates.David Smith2008-06-091-0/+5
| | | | | | | | | | | | | | 2008-06-09 David Smith <dsmith@redhat.com> * tapsets.cxx (utrace_derived_probe::join_group): Removed generated inclusion of tracehook.h. (utrace_var_expanding_copy_visitor::visit_target_symbol): Uses '_stp_arg(0)' to get value of '$syscall'. 2008-06-09 David Smith <dsmith@redhat.com> * task_finder.c (__stp_utrace_task_finder_report_exec): Handles 2.6.25 kernels.
* Changed/renamed utrace probes.David Smith2008-06-061-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-06 David Smith <dsmith@redhat.com> * tapsets.cxx (enum utrace_derived_probe_flags): Redefined in terms of probe types instead of utrace events. (utrace_var_expanding_copy_visitor::visit_target_symbol): Uses new utrace_derived_probes_flags values. (utrace_builder::build): Handles new probe types and new utrace_derived_probes_flags values. (utrace_derived_probe_group::emit_probe_decl): Updated to handle new utrace_derived_probe_flags values. (utrace_derived_probe_group::emit_module_decls): Ditto. Also correctly handles 'begin' events correctly by installing a quiesce handler (instead of running the probe directly). (register_standard_tapsets): Registers updated utrace probe types. 2008-06-06 David Smith <dsmith@redhat.com> * task_finder.c: Added some debug logic. Use '-DDEBUG_TASK_FINDER' to enable. (stap_utrace_attach): Renamed from '__stp_utrace_attach'. (__stp_utrace_attach_match_filename): Calls callback with notification that this is a process or thread event. (__stp_utrace_attach_match_tsk): Ditto. (__stp_utrace_task_finder_report_clone): Ditto. (__stp_utrace_task_finder_report_exec): Ditto. (stap_utrace_task_finder_report_death): Ditto. (stap_start_task_finder): Ditto. (stap_stop_task_finder): Added debug logic. 2008-06-06 David Smith <dsmith@redhat.com> * systemtap.base/utrace_p4.exp: Updated for utrace probe changes. * systemtap.base/utrace_p5.exp: Ditto.
* SW5106 Remove old map and histogram formatting codeStan Cox2008-05-291-0/+15
|
* Handle bug #6500 fallout.David Smith2008-05-281-0/+14
| | | | | | | | | | | | | | | | | | | | | | | 2008-05-28 David Smith <dsmith@redhat.com> * tapsets.cxx (utrace_derived_probe_group::emit_probe_decl): Instead of adding clone handlers, just call the probes directly. (utrace_derived_probe_group::emit_module_decls): For syscall probes, on exec detach the parent's utrace engine from the child. 2008-05-28 David Smith <dsmith@redhat.com> * task_finder.c (__stp_utrace_attach_match_filename): Added register_p parameter, which is passed on to the callback. Only adds death notification if register_p is 1. If register_p is 0, removes death notification. (__stp_utrace_attach_match_tsk): Moved code from __stp_utrace_task_finder_report_clone that handles the details of grabbing a task's path. (__stp_utrace_task_finder_report_clone): Calls new __stp_utrace_attach_match_tsk(). (__stp_utrace_task_finder_report_exec): Notifies upper layer that it might need to detach from newly exec'ed process.`