| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
error of systemtap module
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
|/|
| | |
PR 4311 - Function boundary tracing without debuginfo: Phases 1 and 2
|
| |
| |
| |
| |
| |
| |
| | |
{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.
|
| |
| |
| |
| |
| | |
Still missing: arg64(), _stp_copy_from_user stack, .linkage clause,
tests, docs.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
* 'master' of ssh://sources.redhat.com/git/systemtap:
Made kernel 2.6.25 changes in task_finder.c.
Move examples to testsuite/systemtap.examples
|
| | |
| | |
| | |
| | |
| | |
| | | |
2008-04-24 David Smith <dsmith@redhat.com>
* task_finder.c (__stp_get_mm_path): Made kernel 2.6.25 changes.
|
|/ /
| |
| |
| | |
= 0)
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
* task_finder.c (__stp_get_mm_path): Made kernel 2.6.18 changes.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| | |
|
| | |
|
|\ \ |
|
| | | |
|
|/ / |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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).
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
| |\
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
| | |
|
| |
| |
| |
| | |
compile them into the module.
|
| |
| |
| |
| | |
work with the unwinder.
|
| | |
|
| | |
|
| | |
|
| | |
|