summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
...
* Add uprobes.txt.Jim Keniston2008-10-061-0/+675
|
* PR4886: check build-id if able.Wenji Huang2008-10-065-1/+101
| | | | This provides sanity check of debuginfo file based on build-id. Many cases are considered, whether build-id exists in debuginfo file or not, whether module is loaded or not, whether build-id exists in runtime kernel/module. It will do work when LD >= 2.18 and kernel >=2.6.23, otherwise no check.
* Merge branch 'master' of ssh://kenistoj@sources.redhat.com/git/systemtapJim Keniston2008-10-032-1/+17
|\
| * Remove debug output from warning in procfs.Mark Wielaard2008-10-042-2/+6
| |
| * procfs dir_entry count warning on removal depends on kernel version.Mark Wielaard2008-10-042-3/+15
| |
* | PR 6850Jim Keniston2008-10-031-28/+148
|/ | | | | Fix handling of fork with uretprobe_instances outstanding. Add regression test.
* fix bugs in add_bad_addr_entryTim Moore2008-10-022-2/+8
|
* Fix race condition in addr-map; simplify allocation logicTim Moore2008-09-302-46/+58
|
* Fixed __STP_ATTACHED_TASK_EVENTS problem caused by last commit.David Smith2008-09-262-1/+5
| | | | | | | 2008-09-26 David Smith <dsmith@redhat.com> * task_finder.c (__STP_ATTACHED_TASK_EVENTS): Removed UTRACE_STOP, which isn't needed anymore.
* New utrace fixes.David Smith2008-09-253-29/+121
| | | | | | | | | | | | | | | | 2008-09-25 David Smith <dsmith@redhat.com> * task_finder.c (__stp_utrace_attach): Added action flag to know to request the thread to be stopped or not. (stap_utrace_attach): Now just calls __stp_utrace_attach(). (__stp_utrace_task_finder_target_quiesce): Handles utrace_set_events() errors properly. * utrace_compatibility.h (enum utrace_resume_action): Added utrace_resume_action enum. (utrace_control): Added UTRACE_STOP support. (utrace_engine_put): New. (utrace_barrier): New.
* Fix PR 6903 by checking for the real uid, not the euid.David Smith2008-09-182-1/+7
| | | | | | | | 2008-09-18 David Smith <dsmith@redhat.com> PR 6903. * staprun_funcs.c (check_permissions): Instead of checking the effective uid, check the real uid for root permissions.
* PR 6487, 6504: robustify __stp_print_flushFrank Ch. Eigler2008-09-175-3/+145
|
* PR6879: uprobe support for 0x64/0x65 segment prefix instructionsJim Keniston2008-09-173-12/+15
|
* fix bspcache regression typoFrank Ch. Eigler2008-09-121-1/+1
|
* PR6028: use ip instead of pp for probe identification.Masami Hiramatsu2008-09-122-4/+10
|
* BZ 6755 fix. Wait until all callbacks are finished.David Smith2008-09-122-7/+70
| | | | | | | | | | | | | | | | | | 2008-09-12 David Smith <dsmith@redhat.com> BZ 6755 * task_finder.c: Added 'inuse' count to know when handlers are still running. (__stp_utrace_task_finder_report_clone): If state isn't correct, detach. Increase 'inuse' count when starting, decrement when exiting. (__stp_utrace_task_finder_report_exec): Ditto. (__stp_utrace_task_finder_target_death): Ditto. (__stp_utrace_task_finder_target_quiesce): Increase 'inuse' count when starting, decrement when exiting. (__stp_utrace_task_finder_target_syscall_entry): Ditto. (__stp_utrace_task_finder_target_syscall_exit): Ditto. (stap_stop_task_finder): Wait until all callbacks are finished.
* backtrace fix for i386 with neither frame pointers nor dwarf unwindingFrank Ch. Eigler2008-09-103-4/+14
|
* Rename _stp_module module_base output to dwarf_module_base and document.Mark Wielaard2008-09-103-4/+14
|
* Enable usage of STP_USE_DWARF_UNWINDER for i386 and arm for debugging purposes.Mark Wielaard2008-09-102-0/+7
|
* Record module base and use it for adjusting start locations in dwarf unwinder.Mark Wielaard2008-09-103-3/+33
|
* Feed dwarf unwinder data through _stp_mod_sec_lookup (), but disabled for now.Mark Wielaard2008-09-104-4/+15
|
* Add new function _stp_mod_sec_lookup extracted from _stp_kallsyms_lookup.Mark Wielaard2008-09-102-23/+37
|
* Utrace on ia64 fast fetch-register supportMasami Hiramatsu2008-09-094-17/+38
|
* Add ia64 utrace supportMasami Hiramatsu2008-09-092-1/+50
|
* Correct this_section_offset calculation in _stp_kallsyms_lookup.Mark Wielaard2008-09-092-1/+6
|
* PR1288: runtime functions for avoiding certain addressesTim Moore2008-09-084-94/+326
|
* PR6445: documentation, mopping upFrank Ch. Eigler2008-09-062-0/+12
|
* "stap -c" cleanup part 2 - use wordexp / execvp instead of "sh -c" to ↵Frank Ch. Eigler2008-09-061-28/+30
| | | | execute cmd string
* task_finder <-> target_pid coupling; staprun/target_cmd fork under ptrace ↵Frank Ch. Eigler2008-09-052-300/+335
| | | | control
* remove capabilities logic, cont'dFrank Ch. Eigler2008-09-054-91/+73
|
* remove capability logicFrank Ch. Eigler2008-09-051-166/+0
| | | | | It was only barely beneficial anyway, since some crucial capabilities were never permanently dropped.
* PR4225: post-merge changelogsFrank Ch. Eigler2008-09-011-0/+5
|
* Merge commit 'origin/master' into pr4225Frank Ch. Eigler2008-09-012-46/+82
|\ | | | | | | | | | | | | | | | | | | | | * commit 'origin/master': Fix memory access error in nfs.proc.read_setup, nfs.proc.write_setup and nfs.proc.commit_setup Update NEWS regarding the systemtap client/server. New man page for the systemtap client/server and related utilities. Repopulate symbol/type info. Pushed quiesce logic down into the task_finder layer. Added bug 6841 fix utrace syscall test. PR6731: improve listing mode to list variables
| * Pushed quiesce logic down into the task_finder layer.David Smith2008-08-292-46/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-29 David Smith <dsmith@redhat.com> * tapsets.cxx (utrace_derived_probe_group::emit_probe_decl): Pushed quiesce logic down into the task_finder layer. (utrace_derived_probe_group::emit_module_decls): Removed quiesce handler routines. Syscall probe handler detaches if systemtap state isn't correct. 2008-08-29 David Smith <dsmith@redhat.com> * task_finder.c (__stp_utrace_attach_match_filename): Don't call the callback when the interesting thread is found, call it when the tread is quiesced. (stap_start_task_finder): Ditto. (__stp_utrace_task_finder_target_quiesce): Call the callback.
* | fix #if->#ifdef DEBUG_TASK_FINDER_VMAFrank Ch. Eigler2008-09-011-1/+1
| |
* | Merge commit 'origin/master' into pr4225Frank Ch. Eigler2008-08-283-10/+27
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'origin/master': PR5686: correct regression in semok/optimize.stp trailing whitespace removal, as approved by emacs fix global-var array index rendering fix NEWS to refer to simpler context.stp tapset functions in auto-printing blurb Document written but unread global variable automatic display. 2nd try initial Make _get_sock_addr return correct address in kernel before 2.6.16. Automatically print written but unread globals Make nodwf test passed when CONFIG_QUOTACTL unset Uses STAPCONF_DPATH_PATH instead of a kernel version check. Simplified "rpm" target a bit. Moved tar archive creation step from "rpm" target to "dist-gzip" target. remove support for "make dist" since git-archive does as well; Examples html files moved into subdir. 2008-08-25 David Smith <dsmith@redhat.com> ChangeLog Entries Robustness improvements for the stap client/server
| * Uses STAPCONF_DPATH_PATH instead of a kernel version check.David Smith2008-08-263-10/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-26 David Smith <dsmith@redhat.com> * buildrun.cxx (compile_pass): Added autoconf-dpath-path.c. 2008-08-26 David Smith <dsmith@redhat.com> * autoconf-d_path-path.c: New file. * task_finder.c (__stp_get_mm_path): Uses STAPCONF_DPATH_PATH instead of a kernel version check to determine how to call d_path(). (__stp_utrace_task_finder_target_quiesce): Ditto. (__stp_target_call_vm_callback): Ditto.
* | pr4225: fix shared library address range checks; make more task_finder_vma ↵Frank Ch. Eigler2008-08-221-5/+7
| | | | | | | | tracing conditional on DEBUG_TASK_FINDER_VMA
* | Merge commit 'origin/master' into pr4225Frank Ch. Eigler2008-08-214-55/+252
|\| | | | | | | | | | | | | | | | | | | | | * commit 'origin/master': Added task finder target parameter to vm_callback functions. Supports original and new utrace interfaces. Add ChangeLog entries stap client/server now pass 'make installcheck' Looks for both mmap and mmap2. PR 6841 fix. Add missing 'process' bindings.
| * Added task finder target parameter to vm_callback functions.David Smith2008-08-212-19/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-21 David Smith <dsmith@redhat.com> * tapsets.cxx (itrace_derived_probe_group::emit_module_decls): Updated task finder callback function signature. (utrace_derived_probe_group::emit_module_decls): Ditto. 2008-08-21 David Smith <dsmith@redhat.com> * task_finder.c (__stp_tf_vm_cb): Added task finder target parameter. (__stp_utrace_attach_match_filename): Updated task finder callback call. (__stp_utrace_task_finder_target_death): Ditto. (__stp_utrace_task_finder_target_quiesce): Ditto. (__stp_target_call_vm_callback): Ditto. (__stp_utrace_task_finder_target_syscall_exit): Ditto. (stap_start_task_finder): Ditto.
| * Supports original and new utrace interfaces.David Smith2008-08-203-29/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-20 David Smith <dsmith@redhat.com> * tapsets.cxx (utrace_derived_probe_group::emit_probe_decl): Supports original and new utrace interfaces. (utrace_derived_probe_group::emit_module_decls): Ditto. 2008-08-20 David Smith <dsmith@redhat.com> * task_finder.c: Supports original and new utrace interfaces. * utrace_compatibility.h (utrace_attach_task): Compatibility layer for original utrace interface.
| * Looks for both mmap and mmap2.David Smith2008-08-203-9/+31
| | | | | | | | | | | | | | | | | | 2008-08-20 David Smith <dsmith@redhat.com> * task_finder.c (__stp_utrace_task_finder_target_syscall_entry): Handles mmap2 (as well as mmap). (__stp_utrace_task_finder_target_syscall_exit): Ditto. * syscall.h: Added defines for mmap and mmap2.
| * PR 6841 fix.David Smith2008-08-192-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-19 David Smith <dsmith@redhat.com> PR 6841 * tapsets.cxx (utrace_derived_probe_group::emit_probe_decl): Workaround utrace bug by quiescing threads before attaching a utrace syscall engine to them. (utrace_derived_probe_group::emit_module_decls): Emit quiesce handler. 2008-08-19 David Smith <dsmith@redhat.com> PR 6841 * task_finder.c (__stp_utrace_task_finder_target_quiesce): Quiesces thread before turning on syscall tracing.
* | Merge commit 'origin/master' into pr4225Frank Ch. Eigler2008-08-172-14/+38
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'origin/master': Mention distro specific elfutils development sub-packages needed when not found. Change system-wide probes from 'process("*").begin' to 'process.begin'. PR6836: tweak $$return formatting extend callgraph example to use $$parms / $$return PR6836: $$vars extensions, $$return small patch ... PR 6834 PR6842: work around possibly null task->signal in utrace death callback Minor bugs in stap-client. build compatibility and speed hack for bundled-elfutils mode revise build instructions; clarifying elfutils bundling and its new hosting site kbuild compatibility hack for separate-objdir O= builds PR 6445 (partial). Implemented system-wide utrace probes. Fixed compilation warning on gcc 3.x let $$vars work even with unsupported c types (e.g., funkytown floats)
| * PR6842: work around possibly null task->signal in utrace death callbackFrank Ch. Eigler2008-08-142-1/+7
| |
| * PR 6445 (partial). Implemented system-wide utrace probes.David Smith2008-08-122-14/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-12 David Smith <dsmith@redhat.com> PR 6445 (partial) * tapsets.cxx (utrace_builder::build): Validates pid and allows probing of "*" to mean all threads. * stapprobes.5.in: Added note about a process path of "*" means to probe all threads. 2008-08-12 David Smith <dsmith@redhat.com> PR 6445 (partial) * task_finder.c (stap_register_task_finder_target): Handles probing all threads. (__stp_utrace_attach_match_filename): Ditto. (stap_start_task_finder): Ditto. 2008-08-12 David Smith <dsmith@redhat.com> PR 6445 (partial) * systemtap.base/utrace_p4.exp: Added test that probes all threads. * semko/utrace14.stp: New test.
* | Merge commit 'origin/master' into pr4225Frank Ch. Eigler2008-08-113-31/+223
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'origin/master': (34 commits) PR5049: fix overbroad effects of naive "*" prefixing; instead use optional "*/" only. stap-serverd was incorectly determining that the server could stapprobes man page: clarify statement(NUM).absolute and process("path") searching PR5049: prefix with "*" any filenames given in "fn@filename:line" probes Indentation fix. Redirect stderr gets redircted so warnings don't let example script run fail. PR6835. io/io_submit.stp: Fix #! start. Convert to normal line-ending. PR2895. Add proper #! /usr/bin/env stap line. Make example scripts executable. Use INSTALL_PROGRAM, not INSTALL_DATA for executable .stp scripts. example index: only warn if old, do not regenerate Start/stop the systemtap server from systemtap.exp and not in the top level Makefile. Lower statement wildcard test matching threshold. Moved details of utrace detach to stap_utrace_detach(). Saves thread vma information. Always generate examples indexes and install examples from srcdir. Refer to srcdir spec file Makefile so make rpm works when builddir != srcdir. Add index of subsystem and keywords at top of HTML indexes. Don't output output, exits, status line in indexes (mentioned in descriptions). Disable chmodding of samples/kmalloc-top in spec file since it isn't installed. Make sure examples indexes are always generated in builddir. ...
| * Moved details of utrace detach to stap_utrace_detach().David Smith2008-08-082-31/+72
| | | | | | | | | | | | | | | | | | | | | | | | 2008-08-08 David Smith <dsmith@redhat.com> * tapsets.cxx (utrace_derived_probe_group::emit_module_decls): Calls stap_utrace_detach() to perform detach. 2008-08-08 David Smith <dsmith@redhat.com> * task_finder.c (stap_utrace_detach): New function. (stap_utrace_detach_ops): Calls stap_utrace_detach(). (__stp_utrace_attach_match_filename): Ditto.
| * Saves thread vma information.David Smith2008-08-083-0/+151
| | | | | | | | | | | | | | | | | | | | | | | | 2008-08-08 David Smith <dsmith@redhat.com> * task_finder.c (__stp_tf_vm_cb): Added calls to save/delete vma information. * task_finder_vma.c (__stp_tf_vma_map_hash): New function. (__stp_tf_get_vma_map_entry_internal): Ditto. (stap_add_vma_map_info): Ditto. (stap_remove_vma_map_info): Ditto. (stap_find_vma_map_info): Ditto.
* | Merge commit 'origin/master' into pr4225Frank Ch. Eigler2008-08-065-8/+454
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'origin/master': Use relative instead of absolute line. (bug 6611) move post-0.7 news tidbit to the top Add test for $$vars, $$params, $$locals. typographical tweaks for embedded script code Add $$vars, $$parms, $$locals Rename $path to $pathname of syscall tapset for 2.6.27 Correct several tests for 2.6.27 c code generation: assert C indentation/nesting cancels out at appropriate points Tweak test_installcheck for helloworld.meta and traceio2.meta. Run both tests for installcheck tests. No need for random suffix file cmdline and sysinfo files in the Ensure that a systemtap server is available if 'server' is specified session.h (struct systemtap_session): Added itrace_derived_probe * syscalls2.stp: Add sys_unlinkat. Fix on_each_cpu() call for kernels >2.6.26. Remove unused STAPCONF_MODULE_NSECTIONS