summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* Move sdt.h to includes/sys and use in tests.Mark Wielaard2009-02-172-180/+4
|
* Reduced control channel code duplication.David Smith2009-02-176-270/+132
| | | | | | | | | | | | 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.
* sdt.h (STAP_PROBE): Take provider and probe as arguments.Mark Wielaard2009-02-162-1/+5
|
* Fix )( typo in sdt.h STAP_PROBE9 parm9.Mark Wielaard2009-02-162-1/+5
|
* Handle c++ static user probes via .probe, c via .label.Stan Cox2009-02-152-99/+51
|
* Fixed stack.c compile problems on systems with older kernels (like RHEL4).David Smith2009-02-132-0/+5
| | | | | | | 2009-02-13 David Smith <dsmith@redhat.com> * stack.c: Fixed compile problems on systems with older kernels (like RHEL4).
* Fixed transport/procfs.c for systems that use the old transport (RHEL4).David Smith2009-02-134-3/+19
| | | | | | | | | | | 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-122-1/+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-127-16/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Use kernel stack backtrace support when availableTim Moore2009-02-114-0/+104
| | | | | Define new functions that use the kernel support to do a backtrace of other tasks than current.
* Fixed __stp_utrace_attach by always checking for mm.David Smith2009-02-112-5/+9
| | | | | | | 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.
* Fixed typo in last change.David Smith2009-02-102-2/+5
| | | | | | | 2009-02-10 David Smith <dsmith@redhat.com> * task_finder.c (stap_utrace_detach_ops): Fixed typo. (__stp_utrace_attach): Ditto.
* Ignores kernel threads (by checking for PF_KTHREAD).David Smith2009-02-102-0/+31
| | | | | | | | | 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.
* 2.6.29rc build fix: autoconf for proc_dir_entry->owner going awayFrank Ch. Eigler2009-02-063-1/+18
|
* PR9740/9816? - workaround for kernel valloc bugFrank Ch. Eigler2009-02-054-0/+30
|
* Add STAP_PROBE7, 8 and 9 variants to sdt.h.Mark Wielaard2009-02-022-3/+76
|
* Add .label("label")Stan Cox2009-02-011-1/+1
|
* Use 'static' as much as possibleJosh Stone2009-01-2837-198/+197
| | | | | | | | | | 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.
* 2009-01-28 David Smith <dsmith@redhat.com>David Smith2009-01-282-0/+53
| | | | | | PR9788 * mainloop.c (cleanup_and_exit): Added workaround for bug 9788 by fork'ing/exec'ing staprun.
* sdt.h (STAP_PROBE): Use "g", not "r", for asm args.Mark Wielaard2009-01-272-6/+10
|
* sdt.h (struct _probe_): Make probe_name a STAP_PROBE_STRUCT_ARG.Stan Cox2009-01-272-3/+7
|
* Fix syscall.exp.Stan Cox2009-01-261-1/+1
|
* sdt.h: DTRACE_PROBE5 is STAP_PROBE5, not 4, likewise for 6.Mark Wielaard2009-01-262-2/+6
|
* Add dtrace -h supportStan Cox2009-01-221-41/+71
|
* PR 9673. Only use one utrace engine for all targets with same path or pid.David Smith2009-01-202-155/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add dtrace and sdt.hStan Cox2009-01-131-0/+133
|
* Create the rpm subpackage systemtap-sdt-develStan Cox2009-01-131-133/+0
|
* PR 7082: patch for uprobes2 (kernel > 2.6.26)Jim Keniston2009-01-132-11/+75
|
* Adapt _stp_sort to 2.6.29.Wenji Huang2009-01-122-12/+16
| | | | | Acked-by: Masami Hiramatsu <mhiramat@redhat.com> Signed-off-by: Wenji Huang <wenji.huang@oracle.com>
* Pick up --prefix dependency usage in config.h.Mark Wielaard2009-01-112-0/+7
|
* PR9699: tweak autoconf file for Strict C Language Standards Compliance (tm)Frank Ch. Eigler2009-01-061-2/+3
|
* PR9699: build fixes for kernel 2.6.28Frank Ch. Eigler2009-01-064-1/+21
|
* PR7082: patch for uprobes1 (kernel <= 2.6.24)Jim Keniston2008-12-291-11/+67
|
* Put a block around the probe point.Stan Cox2008-12-212-25/+30
|
* Removed left over remnant from previous implementationElliott Baron2008-12-191-3/+0
|
* Better implementation for %MElliott Baron2008-12-191-10/+17
|
* Merge branch 'master' of ssh://ebaron@sources.redhat.com/git/systemtapElliott Baron2008-12-192-64/+59
|\
| * Convert .mark to .statement(0x) instead of .statement(foo.c:N)Stan Cox2008-12-162-64/+59
| |
* | First attempt at printf kernel memory hex dumpElliott Baron2008-12-191-1/+6
|/
* add some more wallpaper protection against cpu frequency = 0 in ↵Frank Ch. Eigler2008-12-092-1/+6
| | | | gettimeofday_* internals
* PR7082: support non-setuid use of $SYSTEMTAP_RUNTIME to find uprobes.koFrank Ch. Eigler2008-12-092-4/+17
|
* Fix the compilation warning of uprobe in FC9.Wenji Huang2008-12-072-2/+6
|
* Merge branch 'master'; commit 'origin/pr6925'Elliott Baron2008-12-053-53/+77
|\
| * PR7063: honor SYSTEMTAP_STAPRUN and SYSTEMTAP_STAPIO environment variablesRoland McGrath2008-12-033-53/+77
| |
* | Removed an unused variable left from printf %n (PR7051)Kent Sebastian2008-12-051-2/+1
| |
* | PR7051: Remove broken printf %n directive supportroot2008-12-051-40/+6
| |
* | Remove STAP_PROBE_START.Stan Cox2008-12-043-28/+25
|/
* PR6925: tolerate modules left over from previous crashed? stap sessionsFrank Ch. Eigler2008-12-032-2/+18
|
* PR5947: make runtime code -Wpointer-arith-cleanFrank Ch. Eigler2008-11-284-7/+18
|
* PR4783: remove traces of stap{run,io} self-renicingFrank Ch. Eigler2008-11-283-6/+7
|