summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* Very early beginnings of memory map notification support.David Smith2008-06-102-10/+109
| | | | | | | | | | | | | | | 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-092-2/+11
| | | | | | | | | | | | | | 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-062-36/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* PR6429: remove unused fileFrank Ch. Eigler2008-06-031-97/+0
|
* PR6429: remove stapio STP_UNWIND support and associated elfutils dependencyFrank Ch. Eigler2008-06-036-18/+13
|
* SW5106 Remove old map and histogram formatting codeStan Cox2008-05-29110-7133/+19
|
* Fix powerpc dwarfless argument accessAnanth N Mavinakayanahalli2008-05-291-0/+7
|
* Handle bug #6500 fallout.David Smith2008-05-282-30/+93
| | | | | | | | | | | | | | | | | | | | | | | 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.`
* Minor improvement to multi-threaded support.David Smith2008-05-282-8/+33
| | | | | | | | | | | | | | | | | | | 2008-05-21 David Smith <dsmith@redhat.com> * tapsets.cxx (utrace_derived_probe_group::emit_module_decls): Added new 'event_flag' parameter to task_finder callback. Only calls probe handlers if we received the correct event. 2008-05-21 David Smith <dsmith@redhat.com> * task_finder.c (__stp_utrace_attach_match_filename): Added event_flag parameter of event to pass to callback. (__stp_utrace_task_finder_target_death): Ditto. (__stp_utrace_task_finder_report_clone): Calls __stp_utrace_attach_match_filename() with new argument. (__stp_utrace_task_finder_report_exec): Ditto. (stap_start_task_finder): Calls callback with an invalid event_flag since this callback call isn't related to an event.
* Add prototypes for using the 2.6.26 probe_kernel_* functions.Josh Stone2008-05-273-35/+105
| | | | | | | | | For now, the autoconf for the new code is disabled, because it shows poorer performance than our existing dereferencing functions. This is probably because ours get inlined and optimized. The code is being committed so that we may re-evaluate its usefulness in the future. This addresses bugzilla 6432.
* Srinivasa DS <srinivasa@in.ibm.com>,PR6429 Inerim fix to avoid compilation ↵Srikar Dronamraju2008-05-251-0/+20
| | | | error of systemtap module
* Fixed PR 6499 (utrace probe crash).David Smith2008-05-162-14/+29
| | | | | | | | | | | | | 2008-05-16 David Smith <dsmith@redhat.com> PR 6499. * task_finder.c (stap_register_task_finder_target): Added error check. (__stp_utrace_task_finder_report_clone): Ditto. (stap_utrace_detach_ops): Uses do_each_thread/while_each_thread instead of for_each_process (which only iterated among process group leaders instead of all threads). (stap_start_task_finder): Ditto.
* PR 4311 - Function boundary tracing without debuginfo: Phases I and IIJim Keniston2008-05-122-32/+88
|\
| * Fix for PR 6500.David Smith2008-05-082-32/+88
| | | | | | | | | | | | | | | | | | | | | | | | 2008-05-08 David Smith <dsmith@redhat.com> PR 6500. * task_finder.c (__stp_utrace_task_finder_report_exec): Moved attach logic to __stp_utrace_attach_match_filename(). (__stp_utrace_attach_match_filename): New function. (__stp_utrace_task_finder_report_clone): Calls __stp_utrace_attach_match_filename() to attach to newly cloned threads.
* | Merge commit 'origin/dwarfless'Jim Keniston2008-05-121-0/+154
|\ \ | |/ |/| | | PR 4311 - Function boundary tracing without debuginfo: Phases 1 and 2
| * Replaced [u_]arg() with [u]int_arg(), [u]long_arg(), {s|u}32_arg(),Jim Keniston2008-05-051-9/+66
| | | | | | | | | | | | | | {s|u}64_arg(), etc. Added asmlinkage(), fastcall(), regparm(). Dealt with some surprises -- e.g., rax is ZERO-extended eax. Seems to work well with -m32 and -m64 user apps, and with a (small) dwarfless subset of syscall.stp.
| * Added support for register(), u_register(), arg(), and u_arg() functions.Jim Keniston2008-05-011-0/+409
| | | | | | | | | | Still missing: arg64(), _stp_copy_from_user stack, .linkage clause, tests, docs.
* | PR5648: Fix unaligned access warning in stp_print_flush on ia64Masami Hiramatsu2008-05-073-10/+21
| |
* | PR5648: Fix memcpy's endianess issue.Masami Hiramatsu2008-05-072-3/+14
| |
* | More signal cleanup.Martin Hunt2008-05-052-9/+6
| |
* | Fix problem handling SIG_CHLDMartin Hunt2008-05-052-2/+19
| |
* | Cleanup signal handling for staprun.Martin Hunt2008-05-052-46/+77
| |
* | PR6481: timer reset needs irqs reenabledFrank Ch. Eigler2008-05-052-2/+11
| |
* | Made runtime/task_finder.c improvements.David Smith2008-05-052-65/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-05 David Smith <dsmith@redhat.com> * task_finder.c (stap_utrace_detach_ops): Make sure we ignore /sbin/init. (__stp_utrace_attach): Added function to handle details of attaching a utrace engine. (__stp_utrace_task_finder_report_clone): Calls __stp_utrace_attach. (__stp_utrace_task_finder_report_exec): Ditto. (stap_start_task_finder): Ditto.
* | PR5648: Fix unaligned access warning on ia64.Shaohua Li2008-04-302-3/+9
| |
* | PR6008: Increase the limitation of the buffer size to 4095MB.Masami Hiramatsu2008-04-302-3/+10
| |
* | PR5645: Fix sub-buffer size calculation and debug messages.Masami Hiramatsu2008-04-305-3/+18
| |
* | Made utrace probes more robust.David Smith2008-04-292-48/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-29 David Smith <dsmith@redhat.com> * tapsets.cxx (utrace_derived_probe_group::emit_probe_decl): Added death event handlers to ensure that for every utrace_attach there is a corresponding utrace_detach. (utrace_derived_probe_group::emit_module_decls): Ditto. 2008-04-29 David Smith <dsmith@redhat.com> * task_finder.c: Made more robust by ensuring that all utrace attaches have a corresponding utrace detach.
* | cleanup: remove never-implemented runtime TEST_MODE compile flagFrank Ch. Eigler2008-04-282-8/+4
| |
* | Fixed task_finder.c kernel 2.6.25 change.Srinivasa2008-04-252-1/+6
| | | | | | | | | | | | | | 2008-04-25 David Smith <dsmith@redhat.com> From Srinivasa <srinivasa@in.ibm.com> * task_finder.c (__stp_get_mm_path): Fixed kernel 2.6.25 change.
* | Merge branch 'master' of ssh://sources.redhat.com/git/systemtapFrank Ch. Eigler2008-04-242-5/+10
|\ \ | | | | | | | | | | | | | | | * 'master' of ssh://sources.redhat.com/git/systemtap: Made kernel 2.6.25 changes in task_finder.c. Move examples to testsuite/systemtap.examples
| * | Made kernel 2.6.25 changes in task_finder.c.David Smith2008-04-242-5/+10
| | | | | | | | | | | | | | | | | | 2008-04-24 David Smith <dsmith@redhat.com> * task_finder.c (__stp_get_mm_path): Made kernel 2.6.25 changes.
* | | PR6451: avoid one class of staprun shutdown deadlock (module/.ctl filehandle ↵Frank Ch. Eigler2008-04-243-3/+9
|/ / | | | | | | = 0)
* | Allow staprun to run on kernels without capabilities configured.Martin Hunt2008-04-225-40/+52
| |
* | Move send_request out of common.c because staprun no longer sends anything.Martin Hunt2008-04-224-27/+32
| |
* | Add documentation for staprun -d option.Martin Hunt2008-04-222-0/+7
| |
* | Change staprun to exec stapio. Add "-d" option to staprun.Martin Hunt2008-04-2113-496/+168
| |
* | 2008-04-16 David Smith <dsmith@redhat.com>David Smith2008-04-162-2/+7
| | | | | | | | * task_finder.c (__stp_get_mm_path): Made kernel 2.6.18 changes.
* | 2008-04-15 David Smith <dsmith@redhat.com>David Smith2008-04-162-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * session.h (struct systemtap_session): Added utrace_derived_probe group and task_finder_derived_probe_group members. * elaborate.cxx (systemtap_session::systemtap_session): Added initialization of utrace_derived_probes and task_finder_derived_probes. * tapsets.cxx (struct task_finder_derived_probe_group): New derived_probe_group to handle task_finder framework. (struct utrace_derived_probe_group): New derived_probe_group to handle utrace probes. 2008-04-15 David Smith <dsmith@redhat.com> PR 5961 (partial) * task_finder.c (stap_start_task_finder): When an interesting thread is found that is already running, make sure to set up thread death notification.
* | Remove _stp_pbuf_full.Martin Hunt2008-04-152-12/+3
| |
* | Count stack levels printed on x86_64 too.Martin Hunt2008-04-152-6/+12
| |
* | Merge branch 'master' of monkey:/home/hunt/systemtapMartin Hunt2008-04-157-52/+53
|\ \
| * | 2.6.25 fixes and stack level limits.Martin Hunt2008-04-157-52/+53
| | |
* | | PR6410: unwinder-less architecture toleranceFrank Ch. Eigler2008-04-156-0/+26
|/ /
* | PR6405: unwinder build compatibility with RHEL5Frank Ch. Eigler2008-04-154-4/+34
| |
* | unwinder build fix for STACK_{TOP,BOTTOM} macro name collisionsFrank Ch. Eigler2008-04-152-4/+10
| | | | | | | | | | | | | | | | 2008-04-15 Frank Ch. Eigler <fche@elastic.org> * unwind/i386.h (STACK_BOTTOM, STACK_TOP): Comment out these unused definitions, for they collide with some kernels (2.6.25-0.121.rc5.git4 rawhide).
* | runtime backtrace: stop infinite loops by checking for full print bufferFrank Ch. Eigler2008-04-134-4/+24
| | | | | | | | | | | | | | | | 2008-04-13 Frank Ch. Eigler <fche@elastic.org> * print.c (_stp_pbuf_full): New function to note full print buffer. * stack-{i386,x86_64}.c: Use it in all stack-searching loops, to impose another limit against unbounded iteration.
* | Merge commit 'origin/unwind'Frank Ch. Eigler2008-04-1329-900/+2288
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'origin/unwind': Fixes for 2.6.25 pt_regs changes. Include string.h Change stap to get kernel symbols from debuginfo and reincarnate vim/ directory in this branch to match master Add new define STP_USE_DWARF_UNWINDER which is set based on which archs Remove misleading error message. Support for kernels built with CONFIG_FRAME_POINTER Fix regression. dded _stp_read_address() and changed code to use it. kretprobe trampoline fixes i386 fixes. control.c (_stp_ctl_write_dbug): Insert missing break. 32-bit fixes Cleanup. 2008-03-23 Frank Ch. Eigler <fche@elastic.org> 2008-03-23 Frank Ch. Eigler <fche@elastic.org> 2008-03-21 Eugene Teo <eugeneteo@kernel.sg> add (back) runtime/unwind files * clarify utility of epilogue-type probe aliases in documentation rebased unwind_branch on top of current master
| * Merge branch 'master' into unwindFrank Ch. Eigler2008-04-124-7/+437
| |\ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: 2008-04-11 David Smith <dsmith@redhat.com> 2008-04-11 David Smith <dsmith@redhat.com> 2008-04-11 David Smith <dsmith@redhat.com> PR2949: add missing line PR2949: listings mode (stap -l PROBE) PR6393: don't bother print build (configure) date any more, with reliable git ids PR6393: regenerate git_version.h at every make PR6393: git version tagging at build time 2008-04-09 David Smith <dsmith@redhat.com> 2008-04-04 Masami Hiramatsu <mhiramat@redhat.com> 2008-04-04 David Smith <dsmith@redhat.com> 2008-04-04 Masami Hiramatsu <mhiramat@redhat.com> removing another part of retired LKET removing abandoned experiment: safety/* disassembly/symbol checks Conflicts: .gitignore ChangeLog runtime/ChangeLog
| * Fixes for 2.6.25 pt_regs changes.Martin Hunt2008-04-093-6/+99
| |