| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
2009-02-13 David Smith <dsmith@redhat.com>
* stack.c: Fixed compile problems on systems with older kernels
(like RHEL4).
|
|
|
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Define new functions that use the kernel support to do a backtrace of other
tasks than current.
|
|
|
|
|
|
|
| |
2009-02-11 David Smith <dsmith@redhat.com>
* task_finder.c (__stp_utrace_attach): Still checks for mm after
checking task's flags for PF_KTHREAD.
|
|
|
|
|
|
|
| |
2009-02-10 David Smith <dsmith@redhat.com>
* task_finder.c (stap_utrace_detach_ops): Fixed typo.
(__stp_utrace_attach): Ditto.
|
|
|
|
|
|
|
|
|
| |
2009-02-10 David Smith <dsmith@redhat.com>
* task_finder.c (stap_utrace_detach): Ignores kernel threads by
checking task's flags for PF_KTHREAD.
(stap_utrace_detach_ops): Ditto.
(__stp_utrace_attach): Ditto.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This change just inserts 'static' on runtime, tapset, and generated C
functions and globals, so the compiler can do a better job of
optimizing.
My tests with small scripts show ~10% reduction in compile time and ~20%
reduction in module size. Larger scripts may show less benefit, but I
expect purely positive results.
|
|
|
|
|
|
| |
PR9788
* mainloop.c (cleanup_and_exit): Added workaround for bug 9788 by
fork'ing/exec'ing staprun.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-20 David Smith <dsmith@redhat.com>
PR 9673.
* task_finder.c (struct stap_task_finder_target): Added
'vm_events' field.
(stap_register_task_finder_target): Sets vm_events if a
vm_callback is present.
(__stp_task_finder_cleanup): Only detaches engines on the main
__stp_task_finder_list linked list.
(__stp_call_callbacks): New function.
(__stp_call_vm_callbacks): New function.
(__stp_utrace_attach_match_filename): Calls __stp_call_callbacks()
to call callbacks.
(__stp_utrace_task_finder_target_death): Ditto.
(__stp_utrace_task_finder_target_quiesce): Calls
__stp_call_callbacks() and __stp_call_vm_callbacks() to call
callbacks.
(__stp_call_vm_callbacks_with_vma): Renamed from
__stp_target_call_vm_callback.
(__stp_utrace_task_finder_target_syscall_exit): Calls
__stp_call_vm_callbacks() to call vm callbacks.
(stap_start_task_finder): Instead of a utrace engine for every
task_finder_target, there is now one utrace engine for all targets
with the same path or pid.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
Signed-off-by: Wenji Huang <wenji.huang@oracle.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
|/ |
|
|
|
|
| |
gettimeofday_* internals
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|