summaryrefslogtreecommitdiffstats
path: root/runtime/transport/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Kill all ChangeLogsJosh Stone2009-02-191-862/+0
| | | | | | Mark Wielaard, a dear friend of the departed, will be performing a song and dance at the funeral services to commemorate the joyous times that they had together.
* Removed unused functions and variables.David Smith2009-02-181-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-18 David Smith <dsmith@redhat.com> * io.c (_stp_log): Removed unused function. * map.c (_stp_cmp): Replace _stp_log() with dbug(). * mempool.c (_stp_mempool_resize): Removed unused function. * print.c (next_fmt): Removed unused function. * procfs.c: Removed unused variable '_stp_num_procfs_files'. * regs.c (_stp_ret_addr): Removed unused function. * string.c (_stp_text_str): Removed unused variable 'len'. * string.h: Removed unused variable '_stdout_' and function declaration for deleted function '_stp_vsprintf'. * sym.c: Removed unused variables. * unwind.c (_stp_create_unwind_hdr): Removed unused function. 2009-02-18 David Smith <dsmith@redhat.com> * control.c: Removed unused variable '_stp_current_buffers'. * procfs.c (_stp_set_buffers): Removed unused function. (_stp_register_ctl_channel_fs): Removed unused variables and label. * symbols.c (u32_swap): Removed unused function. (generic_swap): Ditto. (_stp_sort): Ditto. (_stp_section_is_interesting): Ditto. * transport.c (_stp_transport_init): Removed unused variable 'ret'.
* Reduced control channel code duplication.David Smith2009-02-171-0/+10
| | | | | | | | | | | | 2009-02-17 David Smith <dsmith@redhat.com> * control.c: Contains generic control channel functions. * procfs.c: Specific procfs control channel functions. All generic control channel functions moved to control.c. * debugfs.c: New file containing debugfs specific control channel functions. * control.h: New file. * transport.c: Updated file inclusion.
* Fixed transport/procfs.c for systems that use the old transport (RHEL4).David Smith2009-02-131-0/+5
| | | | | | | | | | | 2009-02-13 David Smith <dsmith@redhat.com> * procfs.c: Added macros to guard against multiple inclusion. 2009-02-13 David Smith <dsmith@redhat.com> * procfs.c: Added inclusion of ../procfs.c for _stp_mkdir_proc_module().
* Moved inclusion of runtime/procfs.c to a better place.David Smith2009-02-121-0/+3
| | | | | | | | | | | | 2009-02-12 David Smith <dsmith@redhat.com> * tapsets.cxx (procfs_derived_probe_group::emit_module_decls): Moved inclusion of procfs.c here from runtime/transport.c 2009-02-12 David Smith <dsmith@redhat.com> * transport.c: Moved inclusion of procfs.c to procfs_derived_probe_group::emit_module_decls() in tapsets.cxx.
* Cleanup. Renamed _stp_{un}lock_debugfs() to _stp_{un}lock_transport_dir().David Smith2009-02-121-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-12 David Smith <dsmith@redhat.com> * transport.c (_stp_lock_transport_dir): Renamed from _stp_lock_debugfs(), since on older kernels this actually uses procfs. (_stp_unlock_transport_dir): Renamed from _stp_unlock_debugfs(), since on older kernels this actually uses procfs. (_stp_lock_transport_dir): Changed _stp_lock_debugfs()/_stp_unlock_debugfs() to _stp_lock_transport_dir()/_stp_unlock_transport_dir(). * transport.h: Ditto. Also added _stp_transport_init() prototype. * utt.c (utt_remove_root): Changed _stp_lock_debugfs()/_stp_unlock_debugfs() to _stp_lock_transport_dir()/_stp_unlock_transport_dir(). * relayfs.c (_stp_remove_relay_root): Ditto. 2009-02-12 David Smith <dsmith@redhat.com> * procfs.c (_stp_rmdir_proc_module): Changed _stp_lock_debugfs()/_stp_unlock_debugfs() to _stp_lock_transport_dir()/_stp_unlock_transport_dir(). (_stp_mkdir_proc_module): Ditto.
* PR9740/9816? - workaround for kernel valloc bugFrank Ch. Eigler2009-02-051-0/+7
|
* PR9699: build fixes for kernel 2.6.28Frank Ch. Eigler2009-01-061-0/+5
|
* PR5947: make runtime code -Wpointer-arith-cleanFrank Ch. Eigler2008-11-281-0/+8
|
* Use KERN_WARNING and show buffer size.Masami Hiramatsu2008-11-131-0/+4
|
* PR7016: Check free memory before allocating buffers.Masami Hiramatsu2008-11-131-0/+6
|
* reduce transport debug verbosityFrank Ch. Eigler2008-11-121-0/+5
|
* PR4886: weaken build-id failure semanticsFrank Ch. Eigler2008-10-071-0/+6
|
* PR 6487, 6504: robustify __stp_print_flushFrank Ch. Eigler2008-09-171-0/+6
|
* support multiple-relocatable-section modules such as hypothetical ↵Frank Ch. Eigler2008-07-171-0/+4
| | | | -ffunction-sections .ko's
* PR6738: restore support for rhel4-era (2.6.9) kernelsFrank Ch. Eigler2008-07-121-0/+10
|
* PR6736: changelogs for post-merge compiled unwind/symbols data reorganizationFrank Ch. Eigler2008-07-101-0/+9
|
* Merge commit 'origin/master' into pr6429-comp-unwindsymsFrank Ch. Eigler2008-07-091-0/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'origin/master': fix shutdown race condition for scripts that might exit during begin probes Fix PR 6732: Add runtime/autoconf-real-parent.c check for task_struct field. clarify dejagnu test case name for empty-struct changes add changelog entries for last two changes Add test suite for declaration resolution Fix semantic error: empty struct Add hack to support git 1.6 in git_version.sh Sync latest fix for git_version.sh from RadeonHD's tree Slightly cleanup code of translate.cxx PR2111: add general blurbage to stapprobes.5 on syscalls tapset Use `uname -rvm` for checking system compatibility. Generate Add section to stapex manual page on how installed examples are documented. Install examples, demos and samples. Install tutorial and langref manuals.
| * fix shutdown race condition for scripts that might exit during begin probesFrank Ch. Eigler2008-07-091-0/+4
| |
* | Merge commit 'origin/master' into pr6429-comp-unwindsymsFrank Ch. Eigler2008-06-271-0/+10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'origin/master': Always include libdw using link groups. Fix bug in handling process(PID) probes. Added tests for 'process(PID)' variants. This commit makes changes to the VFS tapset. The changes include deprecation of syscalls2.stp: Add sys_renameat. Only probe lines once for the :* wildcard line pattern. Revert checking address in runtime bz451707: fix conversions.exp test $name Cleanup in tapsets.cxx Added powerpc support to runtime/syscall.h. Remove validating _stext due to many aliased symbols PR6646: Add checking address in runtime Fixed offset argument to vm_callback.
| * Revert checking address in runtimeWenji Huang2008-06-251-0/+5
| |
| * PR6646: Add checking address in runtimeWenji Huang2008-06-241-0/+5
| |
* | PR6429: remove stapio STP_UNWIND support and associated elfutils dependencyFrank Ch. Eigler2008-06-231-1/+2
|/
* Remove STP_UNWIND support in _stp_ctl_write_dbugWenji Huang2008-06-131-0/+3
|
* PR6429: remove stapio STP_UNWIND support and associated elfutils dependencyFrank Ch. Eigler2008-06-031-0/+7
|
* PR5645: Fix sub-buffer size calculation and debug messages.Masami Hiramatsu2008-04-301-0/+6
|
* Change staprun to exec stapio. Add "-d" option to staprun.Martin Hunt2008-04-211-0/+6
|
* PR6410: unwinder-less architecture toleranceFrank Ch. Eigler2008-04-151-0/+5
|
* PR6405: unwinder build compatibility with RHEL5Frank Ch. Eigler2008-04-151-0/+6
|
* Change stap to get kernel symbols from debuginfo andMartin Hunt2008-04-091-0/+6
| | | | compile them into the module.
* Add new define STP_USE_DWARF_UNWINDER which is set based on which archsMartin Hunt2008-03-311-0/+2
| | | | work with the unwinder.
* Remove misleading error message.Martin Hunt2008-03-311-0/+4
|
* Support for kernels built with CONFIG_FRAME_POINTERMartin Hunt2008-03-301-0/+5
|
* control.c (_stp_ctl_write_dbug): Insert missing break.Martin Hunt2008-03-251-0/+3
|
* 32-bit fixesMartin Hunt2008-03-251-0/+5
|
* 2008-02-27 Martin Hunt <hunt@redhat.com>hunt2008-02-271-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | * sym.h (_stp_module): Add text_size, lock, and unwind data pointer. * sym.c (_stp_find_module_by_addr): New function. (_stp_kallsyms_lookup): Call _stp_find_module_by_addr(). (_stp_get_unwind_info): New. * runtime.h: Move debug macros to debug.h. Include it. * debug.h: New file. * map.c: Update debug calls. * map-gen.c: Update debug calls. * pmap-gen.c: Update debug calls. * mempool.c: New file. * symbols.c: Use rwlocks. Use new dbug macros. Handle unwind info if present. * transport.c: Include mempool.c. Update dbug and kbug calls to new macros. * transport_msgs.h (_stp_command_name): Add struct containing message names for debugging. * control.c, procfs.c: Use new dbug macros. Use new mempool functions.
* 2008-01-28 Martin Hunt <hunt@redhat.com>hunt2008-01-281-0/+4
| | | | * control.c, procfs.c, symbols.c: Use DEFINE_SPINLOCK
* PR4037 and fixes to better synchronize staprun and stapio.hunt2008-01-151-0/+23
|
* Add support for memory allocation tracking.hunt2008-01-151-0/+6
|
* 2007-11-09 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-11-091-0/+6
| | | | | | | | | | | | | | | | PR3858 * print.c: Add -DRELAY_HOST=<hostname> and -DRELAY_GUEST=<hostname> options support. (_stp_print_flush): Disable irqs if -DRELAY_* option is specified. * print_old.c: Export stp_print_flush to other modules if the -DRELAY_HOST option is specified. * print_new.c: Ditto. * transport.c (_stp_transport_init): Reduce relay buffer size to 64KB*2 if -DRELAY_GUEST is specified. * systemtap.printf/sharedbuf.exp: New test for buffer sharing option. * systemtap.printf/sharedbuf.stp: Ditto. * systemtap.printf/hello.stp: Ditto. * systemtap.printf/hello2.stp: Ditto.
* 2007-11-09 Martin Hunt <hunt@redhat.com>hunt2007-11-091-0/+8
| | | | | | | | | PR 5281 * transport.c (_stp_detach, _stp_attach): Call utt_set_overwrite() instead of setting a flag directly. * utt.c (utt_set_overwrite): New. Set overwrite mode. * relayfs.c (utt_set_overwrite): New. Set overwrite mode. * utt.h: Remove global utt_overwrite_flag.
* 2007-11-01 Martin Hunt <hunt@redhat.com>hunt2007-11-011-0/+6
| | | | | | * procfs.c, control.c, transport.c: Recognize when stapio is detached and disable delayed work. Enable when attached. Cleanup code to destroy workqueue on exit.
* 2007-10-12 Martin Hunt <hunt@redhat.com>hunt2007-10-121-0/+10
| | | | | | | | | | * transport.c (_stp_ask_for_symbols): Don't ask for transport_info yet. Need to wait until symbols are received. (_stp_work_queue): Rename _stp_ready_q to _stp_ctl_ready_q. * procfs.c: Create a ".symbols" channel and use it for STP_MODULE and STP_SYMBOLS. Rename "cmd" channel to ".cmd". * control.c: Ditto.
* 2007-09-21 Martin Hunt <hunt@redhat.com>hunt2007-09-211-0/+4
| | | | | From Alan Brunelle * control.c (_stp_ctl_read_cmd): Cast count to an int before printing.
* 2007-09-20 Martin Hunt <hunt@redhat.com>hunt2007-09-201-0/+5
| | | | | * transport.h: Increase default buffer size. * control.c (_stp_ctl_read_cmd): Check buffer size.
* 2007-09-10 Martin Hunt <hunt@redhat.com>hunt2007-09-101-0/+7
| | | | | | | * procfs.c (_stp_register_ctl_channel): Call _stp_mkdir_proc_module(). (_stp_unregister_ctl_channel): Call _stp_rmdir_proc_module(). * transport.c: Include ../procfs.c runtime procfs functions.
* *** empty log message ***hunt2007-08-191-0/+7
|
* 2007-08-14 David Smith <dsmith@redhat.com>dsmith2007-08-141-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge from setuid-branch. Changes also by Martin Hunt <hunt@redhat.com>. * control.c (_stp_ctl_write): Make sure we don't overflow. (_stp_ctl_open_cmd): Do not allow multiple opens of the control file. (_stp_ctl_write_cmd): Once STP_START is received, ignore everything except STP_EXIT. Create another state variable "initialized". Don't respond to STP_SYMBOLS or STP_MODULES unless initialized is 0. Also check that current pid is the same as the pid that did insmod. (_stp_register_ctl_channel): Bug fix - sets owner/group after checking for NULL. * procfs.c (_stp_ctl_write): Make sure we don't overflow. (_stp_ctl_open_cmd): Do not allow multiple opens of the control file. (_stp_ctl_write_cmd): Once STP_START is received, ignore everything except STP_EXIT. Create another state variable "initialized". Don't respond to STP_SYMBOLS or STP_MODULES unless initialized is 0. Also check that current pid is the same as the pid that did insmod. (_stp_register_ctl_channel): Set ownership of cmd file and percpu files for bulkmode. * relayfs.c (utt_trace_setup): Set ownership of percpu files. Improved error handling. (utt_trace_remove): Improved error checking. * utt.c (utt_remove_tree): Improved error checking. (utt_trace_cleanup): Ditto. (utt_create_buf_file_callback): Set file ownership. (utt_create_global_buf_file_callback): Set file ownership. * transport.h: Delcare _stp_uid, _stp_gid, and _stp_init_pid. * transport.c (_stp_transport_init): Set _stp_uid, _stp_gid, and _stp_init_pid.
* 2007-07-26 Martin Hunt <hunt@redhat.com>hunt2007-07-261-0/+12
| | | | | | Spotted by Ming Chang. * procfs.c (_stp_register_ctl_channel): Fix iterator when removing proc entries when an error occurs.
* 2007-07-09 Martin Hunt <hunt@redhat.com>hunt2007-07-091-0/+6
| | | | | | * symbols.c (_stp_ins_module): Check for overflow of modules array. (_stp_do_module): If _stp_ins_module() fails, return an error.